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

« back to all changes in this revision

Viewing changes to boost/boost/type_traits/detail/yes_no_type.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
 
 
2
// (C) Copyright John Maddock and Steve Cleary 2000.
 
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
// macros and helpers for working with integral-constant-expressions.
 
11
 
 
12
#ifndef BOOST_TT_DETAIL_YES_NO_TYPE_HPP_INCLUDED
 
13
#define BOOST_TT_DETAIL_YES_NO_TYPE_HPP_INCLUDED
 
14
 
 
15
namespace boost {
 
16
namespace type_traits {
 
17
 
 
18
typedef char yes_type;
 
19
struct no_type
 
20
{
 
21
   char padding[8];
 
22
};
 
23
 
 
24
} // namespace type_traits
 
25
} // namespace boost
 
26
 
 
27
#endif // BOOST_TT_DETAIL_YES_NO_TYPE_HPP_INCLUDED