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

« back to all changes in this revision

Viewing changes to boost/boost/type_traits/detail/ice_not.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_NOT_HPP_INCLUDED
 
11
#define BOOST_TT_DETAIL_ICE_NOT_HPP_INCLUDED
 
12
 
 
13
#include "boost/config.hpp"
 
14
 
 
15
namespace boost {
 
16
namespace type_traits {
 
17
 
 
18
template <bool b>
 
19
struct ice_not
 
20
{
 
21
    BOOST_STATIC_CONSTANT(bool, value = true);
 
22
};
 
23
 
 
24
template <>
 
25
struct ice_not<true>
 
26
{
 
27
    BOOST_STATIC_CONSTANT(bool, value = false);
 
28
};
 
29
 
 
30
} // namespace type_traits
 
31
} // namespace boost
 
32
 
 
33
#endif // BOOST_TT_DETAIL_ICE_NOT_HPP_INCLUDED