diff options
Diffstat (limited to 'boost/icl/impl_config.hpp')
-rw-r--r-- | boost/icl/impl_config.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/boost/icl/impl_config.hpp b/boost/icl/impl_config.hpp index 1f244d2390..02782a5b40 100644 --- a/boost/icl/impl_config.hpp +++ b/boost/icl/impl_config.hpp @@ -9,6 +9,8 @@ Copyright (c) 2009-2011: Joachim Faulhaber #ifndef BOOST_ICL_IMPL_CONFIG_HPP_JOFA_091225 #define BOOST_ICL_IMPL_CONFIG_HPP_JOFA_091225 +#include <boost/icl/detail/boost_config.hpp> + /*-----------------------------------------------------------------------------+ | You can choose an implementation for the basic set and map classes. | | Select at most ONE of the following defines to change the default | @@ -39,6 +41,19 @@ Copyright (c) 2009-2011: Joachim Faulhaber # define ICL_IMPL_SPACE std #endif +/*-----------------------------------------------------------------------------+ +| MEMO 2012-12-30: Due to problems with new c++11 compilers and their | +| implementation of rvalue references, ICL's move implementation will be | +| disabled for some new compilers for version 1.53. | ++-----------------------------------------------------------------------------*/ +#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES) +# define BOOST_ICL_NO_CXX11_RVALUE_REFERENCES +//#elif defined(__clang__) +//# define BOOST_ICL_NO_CXX11_RVALUE_REFERENCES +//#elif (defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) +//# define BOOST_ICL_NO_CXX11_RVALUE_REFERENCES +#endif + #include <boost/move/move.hpp> #endif // BOOST_ICL_IMPL_CONFIG_HPP_JOFA_091225 |