blob: 12255b52eb1776624f3c7ef4baf26556c5a4ecb6 [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
Jeff Thompson3d613fd2013-10-15 15:39:04 -07008#ifndef NDNBOOST_TT_DETAIL_ICE_OR_HPP_INCLUDED
9#define NDNBOOST_TT_DETAIL_ICE_OR_HPP_INCLUDED
Jeff Thompsonf7d49942013-08-01 16:47:40 -070010
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 b1, bool b2, bool b3 = false, bool b4 = false, bool b5 = false, bool b6 = false, bool b7 = false>
17struct ice_or;
18
19template <bool b1, bool b2, bool b3, bool b4, bool b5, bool b6, bool b7>
20struct ice_or
21{
Jeff Thompson3d613fd2013-10-15 15:39:04 -070022 NDNBOOST_STATIC_CONSTANT(bool, value = true);
Jeff Thompsonf7d49942013-08-01 16:47:40 -070023};
24
25template <>
26struct ice_or<false, false, false, false, false, false, false>
27{
Jeff Thompson3d613fd2013-10-15 15:39:04 -070028 NDNBOOST_STATIC_CONSTANT(bool, value = false);
Jeff Thompsonf7d49942013-08-01 16:47:40 -070029};
30
31} // namespace type_traits
32} // namespace ndnboost
33
Jeff Thompson3d613fd2013-10-15 15:39:04 -070034#endif // NDNBOOST_TT_DETAIL_ICE_OR_HPP_INCLUDED