Ticket #10215: visual.diff

File visual.diff, 800 bytes (added by Veena, 6 years ago)

Patch to boost 1.59 visualc.hpp

Line 
1 // C++11 features supported by VC++ 12 (aka 2013).
2 //
3 #if _MSC_FULL_VER < 180020827
4+# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
5 # define BOOST_NO_CXX11_DELETED_FUNCTIONS
6 # define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
7 # define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
8@@ -173,12 +174,6 @@
9 # define BOOST_NO_CXX14_BINARY_LITERALS
10 # define BOOST_NO_CXX14_GENERIC_LAMBDAS
11 # define BOOST_NO_CXX14_DIGIT_SEPARATORS
12-//
13-// Although VC 2013 claims to support defaulted functions, it
14-// does not support the =default construct. See
15-// h t t p : / / m s d n . m i c r o s o f t . c o m / e n - u s / l i b r a r y / h h 4 0 9 2 9 3 . a s p x
16-//
17-#define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
18 #endif
19
20 // MSVC including version 14 has not yet completely