blob: d3aae4761fc5664e94c087162471eed6fae82f16 [file] [log] [blame]
Jeff Thompsona28eed82013-08-22 16:21:10 -07001// 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
5#ifndef BOOST_TYPEOF_UNSUPPORTED_HPP_INCLUDED
6#define BOOST_TYPEOF_UNSUPPORTED_HPP_INCLUDED
7
8namespace ndnboost { namespace type_of {
9 struct typeof_emulation_is_unsupported_on_this_compiler {};
10}}
11
12#define BOOST_TYPEOF(expr) ndnboost::type_of::typeof_emulation_is_unsupported_on_this_compiler
13#define BOOST_TYPEOF_TPL BOOST_TYPEOF
14
15#define BOOST_TYPEOF_NESTED_TYPEDEF_TPL(name,expr) \
16struct name {\
17 typedef BOOST_TYPEOF_TPL(expr) type;\
18};
19
20#define BOOST_TYPEOF_NESTED_TYPEDEF(name,expr) \
21struct name {\
22 typedef BOOST_TYPEOF(expr) type;\
23};
24
25
26#define BOOST_TYPEOF_REGISTER_TYPE(x)
27#define BOOST_TYPEOF_REGISTER_TEMPLATE(x, params)
28
29#endif