source: vendor/nemo/current/NEMOGCM/EXTERNAL/XIOS/extern/boost/include/boost/type_traits/detail/ice_or.hpp @ 44

Last change on this file since 44 was 44, checked in by cholod, 12 years ago

Load NEMO_TMP into vendor/nemo/current.

File size: 999 bytes
Line 
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_OR_HPP_INCLUDED
9#define BOOST_TT_DETAIL_ICE_OR_HPP_INCLUDED
10
11#include <boost/config.hpp>
12
13namespace boost {
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{
22    BOOST_STATIC_CONSTANT(bool, value = true);
23};
24
25template <>
26struct ice_or<false, false, false, false, false, false, false>
27{
28    BOOST_STATIC_CONSTANT(bool, value = false);
29};
30
31} // namespace type_traits
32} // namespace boost
33
34#endif // BOOST_TT_DETAIL_ICE_OR_HPP_INCLUDED
Note: See TracBrowser for help on using the repository browser.