mirror of
https://github.com/boostorg/optional.git
synced 2025-07-29 12:07:21 +02:00
config: if for intel
This commit is contained in:
@ -59,7 +59,7 @@
|
|||||||
# define BOOST_OPTIONAL_CONFIG_NO_PROPER_ASSIGN_FROM_CONST_INT
|
# define BOOST_OPTIONAL_CONFIG_NO_PROPER_ASSIGN_FROM_CONST_INT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
#if (defined __GNUC__) && (!defined BOOST_INTEL_CXX_VERSION)
|
||||||
// On some GCC versions an unwanted temporary is created when you copy-initialize
|
// On some GCC versions an unwanted temporary is created when you copy-initialize
|
||||||
// from a const lvalue of integral type. Thus we bind not to the original address but
|
// from a const lvalue of integral type. Thus we bind not to the original address but
|
||||||
// to a temporary.
|
// to a temporary.
|
||||||
|
Reference in New Issue
Block a user