incr_registration_group.hpp 528 B

1234567891011121314
  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. // Inclusion of this file increments BOOST_TYPEOF_REGISTRATION_GROUP
  5. // This method was suggested by Paul Mensonides
  6. #ifdef BOOST_TYPEOF_EMULATION
  7. # undef BOOST_TYPEOF_REGISTRATION_GROUP
  8. # include <boost/preprocessor/slot/counter.hpp>
  9. # include BOOST_PP_UPDATE_COUNTER()
  10. # define BOOST_TYPEOF_REGISTRATION_GROUP BOOST_PP_COUNTER
  11. #endif