id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 11203,boost::none compile errors with MSVC,raad@…,akrzemi1,"The new boost::none in 1.58 doesn't compile on MSVC when using precomiled headers. Code to reproduce the problem: precompiled header stdafx.h: {{{ #include }}} s.cpp: {{{ #include ""stdafx.h"" struct s { void f(boost::optional const& = boost::none) {} }; }}} On MSVC12, this results in the error message: {{{ s.cpp(3): error C3083: ' ?? A0x06d21c56': the symbol to the left of a '::' must be a type }}} Defining BOOST_OPTIONAL_USE_OLD_DEFINITION_OF_NONE works around the problem, but I haven't found it documented anywhere.",Bugs,closed,Boost 1.60.0,optional,Boost 1.58.0,Problem,fixed,,marci_r@…