Line | |
---|
1 | |
---|
2 | // (C) Copyright John Maddock and Steve Cleary 2000. |
---|
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 | // macros and helpers for working with integral-constant-expressions. |
---|
10 | |
---|
11 | #ifndef BOOST_TT_DETAIL_YES_NO_TYPE_HPP_INCLUDED |
---|
12 | #define BOOST_TT_DETAIL_YES_NO_TYPE_HPP_INCLUDED |
---|
13 | |
---|
14 | namespace boost { |
---|
15 | namespace type_traits { |
---|
16 | |
---|
17 | typedef char yes_type; |
---|
18 | struct no_type |
---|
19 | { |
---|
20 | char padding[8]; |
---|
21 | }; |
---|
22 | |
---|
23 | } // namespace type_traits |
---|
24 | } // namespace boost |
---|
25 | |
---|
26 | #endif // BOOST_TT_DETAIL_YES_NO_TYPE_HPP_INCLUDED |
---|
Note: See
TracBrowser
for help on using the repository browser.