yes_no_type.hpp 726 B

1234567891011121314151617181920212223242526
  1. // (C) Copyright John Maddock and Steve Cleary 2000.
  2. // Use, modification and distribution are subject to the Boost Software License,
  3. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt).
  5. //
  6. // See http://www.boost.org/libs/type_traits for most recent version including documentation.
  7. //
  8. // macros and helpers for working with integral-constant-expressions.
  9. #ifndef BOOST_TT_DETAIL_YES_NO_TYPE_HPP_INCLUDED
  10. #define BOOST_TT_DETAIL_YES_NO_TYPE_HPP_INCLUDED
  11. namespace boost {
  12. namespace type_traits {
  13. typedef char yes_type;
  14. struct no_type
  15. {
  16. char padding[8];
  17. };
  18. } // namespace type_traits
  19. } // namespace boost
  20. #endif // BOOST_TT_DETAIL_YES_NO_TYPE_HPP_INCLUDED