~ubuntu-branches/ubuntu/warty/aqsis/warty

« back to all changes in this revision

Viewing changes to boost/boost/type_traits/detail/ice_and.hpp

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-08-24 07:25:04 UTC
  • Revision ID: james.westby@ubuntu.com-20040824072504-zf993vnevvisdsvb
Tags: upstream-0.9.1
ImportĀ upstreamĀ versionĀ 0.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// (C) Copyright John Maddock and Steve Cleary 2000.
 
2
//
 
3
// Permission to copy, use, modify, sell and distribute this software is 
 
4
// granted provided this copyright notice appears in all copies. This software 
 
5
// is provided "as is" without express or implied warranty, and with no claim 
 
6
// as to its suitability for any purpose.
 
7
//
 
8
// See http://www.boost.org for most recent version including documentation.
 
9
 
 
10
#ifndef BOOST_TT_DETAIL_ICE_AND_HPP_INCLUDED
 
11
#define BOOST_TT_DETAIL_ICE_AND_HPP_INCLUDED
 
12
 
 
13
#include "boost/config.hpp"
 
14
 
 
15
namespace boost {
 
16
namespace type_traits {
 
17
 
 
18
template <bool b1, bool b2, bool b3 = true, bool b4 = true, bool b5 = true, bool b6 = true, bool b7 = true>
 
19
struct ice_and;
 
20
 
 
21
template <bool b1, bool b2, bool b3, bool b4, bool b5, bool b6, bool b7>
 
22
struct ice_and
 
23
{
 
24
    BOOST_STATIC_CONSTANT(bool, value = false);
 
25
};
 
26
 
 
27
template <>
 
28
struct ice_and<true, true, true, true, true, true, true>
 
29
{
 
30
    BOOST_STATIC_CONSTANT(bool, value = true);
 
31
};
 
32
 
 
33
} // namespace type_traits
 
34
} // namespace boost
 
35
 
 
36
#endif // BOOST_TT_DETAIL_ICE_AND_HPP_INCLUDED