unsupported.hpp 815 B

1234567891011121314151617181920212223242526272829
  1. // Copyright (C) 2010 Peder Holt
  2. // Use, modification and distribution is subject to the Boost Software
  3. // License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
  4. #ifndef BOOST_TYPEOF_UNSUPPORTED_HPP_INCLUDED
  5. #define BOOST_TYPEOF_UNSUPPORTED_HPP_INCLUDED
  6. namespace boost { namespace type_of {
  7. struct typeof_emulation_is_unsupported_on_this_compiler {};
  8. }}
  9. #define BOOST_TYPEOF(expr) boost::type_of::typeof_emulation_is_unsupported_on_this_compiler
  10. #define BOOST_TYPEOF_TPL BOOST_TYPEOF
  11. #define BOOST_TYPEOF_NESTED_TYPEDEF_TPL(name,expr) \
  12. struct name {\
  13. typedef BOOST_TYPEOF_TPL(expr) type;\
  14. };
  15. #define BOOST_TYPEOF_NESTED_TYPEDEF(name,expr) \
  16. struct name {\
  17. typedef BOOST_TYPEOF(expr) type;\
  18. };
  19. #define BOOST_TYPEOF_REGISTER_TYPE(x)
  20. #define BOOST_TYPEOF_REGISTER_TEMPLATE(x, params)
  21. #endif