1// (C) Copyright John Maddock and Steve Cleary 2000.
2// Use, modification and distribution are subject to the Boost Software License,
3// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
4// http://www.boost.org/LICENSE_1_0.txt).
5//
6// See http://www.boost.org/libs/type_traits for most recent version including documentation.
7
8#ifndef BOOST_TT_DETAIL_ICE_NOT_HPP_INCLUDED
9#define BOOST_TT_DETAIL_ICE_NOT_HPP_INCLUDED
10
11#include <boost/config.hpp>
12
13//
14// This header is deprecated and no longer used by type_traits:
15//
16#if defined(__GNUC__) || defined(_MSC_VER)
17# pragma message("NOTE: Use of this header (ice_not.hpp) is deprecated")
18#endif
19
20namespace boost {
21namespace type_traits {
22
23template <bool b>
24struct ice_not
25{
26 BOOST_STATIC_CONSTANT(bool, value = true);
27};
28
29template <>
30struct ice_not<true>
31{
32 BOOST_STATIC_CONSTANT(bool, value = false);
33};
34
35} // namespace type_traits
36} // namespace boost
37
38#endif // BOOST_TT_DETAIL_ICE_NOT_HPP_INCLUDED
39

source code of boost/boost/type_traits/detail/ice_not.hpp