1 // Copyright (C) 2004, 2005 Arkadiy Vertleyb 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 // Inclusion of this file increments BOOST_TYPEOF_REGISTRATION_GROUP 6 // This method was suggested by Paul Mensonides 7 8 #ifdef BOOST_TYPEOF_EMULATION 9 # undef BOOST_TYPEOF_REGISTRATION_GROUP 10 11 # include <boost/preprocessor/slot/counter.hpp> 12 # include BOOST_PP_UPDATE_COUNTER() 13 # define BOOST_TYPEOF_REGISTRATION_GROUP BOOST_PP_COUNTER 14 #endif 15