14 Mar
2014
14 Mar
'14
6:22 a.m.
hi list, for common case: boost::variant<Val,...> var; var = val; Val& v = boost::get<Val>(var); why not supply a interface like: Val& v = var.assign(val); for simplity, and the unnecessary "get" is also elimited. regards -- View this message in context: http://boost.2283326.n4.nabble.com/variant-assign-and-access-the-assigned-va... Sent from the Boost - Dev mailing list archive at Nabble.com.