id summary reporter owner description type status milestone component version severity resolution keywords cc 8988 Boost.variant can not work with const rvalues Antony Polukhin Antony Polukhin "Thanks to gast128! he found the following bug and reported it in mailing lists: I get a compilation error with Boost.Variant (which compiles fine on previous releases) with vstudio 2010 when a function returns a const Boost.Variant, e.g.: {{{ typedef boost::variant Variant; const Variant GetVar() { return Variant(); } void TestVariantDnc() { const Variant var = GetVar(); } }}} This gives error C2666 ('boost::variant::convert_construct' : 3 overloads have similar conversions')." Bugs closed Boost 1.55.0 variant Boost 1.54.0 Problem fixed antoshkka@…