test_has_type.hpp 728 B

1234567891011121314151617181920212223
  1. // (C) Copyright Edward Diener 2011
  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. #if !defined(TEST_HAS_TYPE_HPP)
  6. #define TEST_HAS_TYPE_HPP
  7. #include "test_structs.hpp"
  8. #include <boost/tti/has_type.hpp>
  9. BOOST_TTI_HAS_TYPE(AnIntType)
  10. BOOST_TTI_TRAIT_HAS_TYPE(NameStruct,AStructType)
  11. BOOST_TTI_HAS_TYPE(AnIntTypeReference)
  12. BOOST_TTI_HAS_TYPE(BType)
  13. BOOST_TTI_TRAIT_HAS_TYPE(TheInteger,AnIntegerType)
  14. BOOST_TTI_HAS_TYPE(CType)
  15. BOOST_TTI_HAS_TYPE(AnotherIntegerType)
  16. BOOST_TTI_TRAIT_HAS_TYPE(SomethingElse,someOtherType)
  17. BOOST_TTI_HAS_TYPE(NoOtherType)
  18. #endif // TEST_HAS_TYPE_HPP