forked from boostorg/optional
experimental optional config test
This commit is contained in:
1 parent
238dd15ed0
commit
0d5061aebe
6 files changed
+173
No files matched your search
@@ -52,4 +52,11 @@
|
||||
# define BOOST_OPTIONAL_DETAIL_USE_ATTRIBUTE_MAY_ALIAS
|
||||
#endif
|
||||
|
||||
#if (defined(_MSC_VER) && _MSC_VER <= 1800)
|
||||
// on MSCV 2013 and earlier an unwanted temporary is created when you assign from
|
||||
// a const lvalue of integral type. Thus we bind not to the original address but
|
||||
// to a temporary.
|
||||
# define BOOST_OPTIONAL_CONFIG_NO_PROPER_ASSIGN_FROM_CONST_INT
|
||||
#endif
|
||||
|
||||
#endif // header guard
|
||||
Reference in new issue
Block a user