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)
5 #ifndef BOOST_TYPEOF_UNSUPPORTED_HPP_INCLUDED
6 #define BOOST_TYPEOF_UNSUPPORTED_HPP_INCLUDED
8 namespace boost { namespace type_of {
9 struct typeof_emulation_is_unsupported_on_this_compiler {};
12 #define BOOST_TYPEOF(expr) boost::type_of::typeof_emulation_is_unsupported_on_this_compiler
13 #define BOOST_TYPEOF_TPL BOOST_TYPEOF
15 #define BOOST_TYPEOF_NESTED_TYPEDEF_TPL(name,expr) \
17 typedef BOOST_TYPEOF_TPL(expr) type;\
20 #define BOOST_TYPEOF_NESTED_TYPEDEF(name,expr) \
22 typedef BOOST_TYPEOF(expr) type;\
26 #define BOOST_TYPEOF_REGISTER_TYPE(x)
27 #define BOOST_TYPEOF_REGISTER_TEMPLATE(x, params)