mirror of
https://github.com/boostorg/foreach.git
synced 2026-02-10 11:22:38 +00:00
intel compiler on linux doesn't do const rvalue detection
[SVN r37084]
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
|
||||
// Some compilers let us detect even const-qualified rvalues at compile-time
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, >= 1310) \
|
||||
|| BOOST_WORKAROUND(__GNUC__, >= 4) \
|
||||
|| (BOOST_WORKAROUND(__GNUC__, == 3) && (__GNUC_MINOR__ >= 4))
|
||||
|| (BOOST_WORKAROUND(__GNUC__, >= 4) && !defined(BOOST_INTEL)) \
|
||||
|| (BOOST_WORKAROUND(__GNUC__, == 3) && (__GNUC_MINOR__ >= 4) && !defined(BOOST_INTEL))
|
||||
# define BOOST_FOREACH_COMPILE_TIME_CONST_RVALUE_DETECTION
|
||||
#else
|
||||
// Some compilers allow temporaries to be bound to non-const references.
|
||||
|
||||
Reference in New Issue
Block a user