2006-06-12から1日間の記事一覧
static_visitor の operator() には const を付けないとエラーになる。 struct : public boost::static_visitor<> { template void operator()(T& v) const { v.somothing(); } };
static_visitor の operator() には const を付けないとエラーになる。 struct : public boost::static_visitor<> { template void operator()(T& v) const { v.somothing(); } };