blob: 47457d4618b7716717f4822ae4958b3a50406f94 [file] [log] [blame]
Jeff Thompsonf7d49942013-08-01 16:47:40 -07001// (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
Jeff Thompson2277ce52013-08-01 17:34:11 -070011#include <ndnboost/config.hpp>
Jeff Thompsonf7d49942013-08-01 16:47:40 -070012
13namespace ndnboost {
14namespace type_traits {
15
16template <bool b>
17struct ice_not
18{
19 BOOST_STATIC_CONSTANT(bool, value = true);
20};
21
22template <>
23struct ice_not<true>
24{
25 BOOST_STATIC_CONSTANT(bool, value = false);
26};
27
28} // namespace type_traits
29} // namespace ndnboost
30
31#endif // BOOST_TT_DETAIL_ICE_NOT_HPP_INCLUDED