diff options
Diffstat (limited to 'boost/variant/variant_fwd.hpp')
-rw-r--r-- | boost/variant/variant_fwd.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/boost/variant/variant_fwd.hpp b/boost/variant/variant_fwd.hpp index a15b0a27fe..4bf90aa1e1 100644 --- a/boost/variant/variant_fwd.hpp +++ b/boost/variant/variant_fwd.hpp @@ -71,10 +71,12 @@ GCC 4.6 has incomplete implementation of variadic templates. MSVC2013 has variadic templates, but they have issues. + + NOTE: Clang compiler defines __GNUC__ */ #if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) \ - || (defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ < 7)) \ - || (defined(_MSC_VER) && (_MSC_VER <= 1800)) \ + || (!defined(__clang__) && defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ < 7)) \ + || (defined(_MSC_VER) && (_MSC_VER <= 1900)) \ || defined(BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE) \ || defined (BOOST_VARIANT_NO_TYPE_SEQUENCE_SUPPORT) |