Actually, I think the emulation is fine. You have to do:
BOOST_SCOPED_ENUM(copy_option) opt(copy_option::overwrite_if_exists);
and then it works as expected.
Rob
________________________________________
From: Boost
is this a bug in filesystem on gcc, a bug in gcc, a non-standard behavior in visual studio 2013, or an intended change? This seems to be a problem with scoped_enum emulation. It works, if you use gcc in C++11-Mode (at least with 4.9.2) or directly pass the copy_option to the function.
Best regards, Stefan Floeren _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost