Ticket #9410: config_decltype_n3276.patch
File config_decltype_n3276.patch, 1.5 KB (added by , 9 years ago) |
---|
-
boost/config/compiler/visualc.hpp
180 180 # define BOOST_NO_CXX11_TRAILING_RESULT_TYPES 181 181 # define BOOST_NO_CXX11_VARIADIC_TEMPLATES 182 182 # define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX 183 # define BOOST_NO_CXX11_DECLTYPE_N3276 183 184 #endif 184 185 185 186 // C++11 features not supported by any versions -
libs/config/test/no_decltype_n3276_fail.cpp
32 32 33 33 int main( int, char *[] ) 34 34 { 35 return boost_no_ decltype_n3276::test();35 return boost_no_cxx11_decltype_n3276::test(); 36 36 } 37 37 -
libs/config/test/no_decltype_n3276_pass.cpp
27 27 #ifndef BOOST_NO_CXX11_DECLTYPE_N3276 28 28 #include "boost_no_decltype_n3276.ipp" 29 29 #else 30 namespace boost_no_ decltype_n3276 = empty_boost;30 namespace boost_no_cxx11_decltype_n3276 = empty_boost; 31 31 #endif 32 32 33 33 int main( int, char *[] ) 34 34 { 35 return boost_no_ decltype_n3276::test();35 return boost_no_cxx11_decltype_n3276::test(); 36 36 } 37 37