| 1 | // (C) Copyright 2009-2011 Frederic Bron. |
| 2 | // |
| 3 | // Use, modification and distribution are subject to the Boost Software License, |
| 4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
| 5 | // http://www.boost.org/LICENSE_1_0.txt). |
| 6 | // |
| 7 | // See http://www.boost.org/libs/type_traits for most recent version including documentation. |
| 8 | |
| 9 | #ifndef BOOST_TT_HAS_LOGICAL_NOT_HPP_INCLUDED |
| 10 | #define BOOST_TT_HAS_LOGICAL_NOT_HPP_INCLUDED |
| 11 | |
| 12 | #if defined(__GNUC__) && (__GNUC__*10000 + __GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__ > 40800) |
| 13 | #pragma GCC diagnostic push |
| 14 | #pragma GCC diagnostic ignored "-Wunused-value" |
| 15 | #endif |
| 16 | |
| 17 | #define BOOST_TT_TRAIT_NAME has_logical_not |
| 18 | #define BOOST_TT_TRAIT_OP ! |
| 19 | #define BOOST_TT_FORBIDDEN_IF\ |
| 20 | false |
| 21 | |
| 22 | #include <boost/type_traits/detail/has_prefix_operator.hpp> |
| 23 | |
| 24 | #undef BOOST_TT_TRAIT_NAME |
| 25 | #undef BOOST_TT_TRAIT_OP |
| 26 | #undef BOOST_TT_FORBIDDEN_IF |
| 27 | |
| 28 | #if defined(__GNUC__) && (__GNUC__*10000 + __GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__ > 40800) |
| 29 | #pragma GCC diagnostic pop |
| 30 | #endif |
| 31 | |
| 32 | #endif |
| 33 | |