File indexing completed on 2025-01-18 09:53:12
0001
0002
0003
0004
0005 #ifndef BOOST_TYPEOF_TYPEOF_HPP_INCLUDED
0006 #define BOOST_TYPEOF_TYPEOF_HPP_INCLUDED
0007
0008 #include <boost/config.hpp>
0009 #include <boost/config/workaround.hpp>
0010
0011 #if BOOST_WORKAROUND(BOOST_MSVC, <= 1900)
0012
0013 # include <boost/typeof/msvc/typeof_impl.hpp>
0014
0015 # define BOOST_TYPEOF_REGISTER_TYPE(x)
0016 # define BOOST_TYPEOF_REGISTER_TEMPLATE(x, params)
0017
0018 #else
0019
0020 # include <boost/typeof/decltype.hpp>
0021
0022 #endif
0023
0024 #define BOOST_TYPEOF_UNIQUE_ID()\
0025 BOOST_TYPEOF_REGISTRATION_GROUP * 0x10000 + __LINE__
0026
0027 #define BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()\
0028 <boost/typeof/incr_registration_group.hpp>
0029
0030
0031 #define BOOST_AUTO(Var, Expr) auto Var = Expr
0032 #define BOOST_AUTO_TPL(Var, Expr) auto Var = Expr
0033
0034 #endif