New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
ice_and.hpp in vendors/XIOS/current/extern/boost/include/boost/type_traits/detail – NEMO

source: vendors/XIOS/current/extern/boost/include/boost/type_traits/detail/ice_and.hpp @ 3408

Last change on this file since 3408 was 3408, checked in by rblod, 12 years ago

importing initial XIOS vendor drop

  • Property svn:keywords set to Id
File size: 996 bytes
Line 
1//  (C) Copyright John Maddock and Steve Cleary 2000.
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_DETAIL_ICE_AND_HPP_INCLUDED
10#define BOOST_TT_DETAIL_ICE_AND_HPP_INCLUDED
11
12#include <boost/config.hpp>
13
14namespace boost {
15namespace type_traits {
16
17template <bool b1, bool b2, bool b3 = true, bool b4 = true, bool b5 = true, bool b6 = true, bool b7 = true>
18struct ice_and;
19
20template <bool b1, bool b2, bool b3, bool b4, bool b5, bool b6, bool b7>
21struct ice_and
22{
23    BOOST_STATIC_CONSTANT(bool, value = false);
24};
25
26template <>
27struct ice_and<true, true, true, true, true, true, true>
28{
29    BOOST_STATIC_CONSTANT(bool, value = true);
30};
31
32} // namespace type_traits
33} // namespace boost
34
35#endif // BOOST_TT_DETAIL_ICE_AND_HPP_INCLUDED
Note: See TracBrowser for help on using the repository browser.