Add SCons configure checks
[senf.git] / boost_ext / boost / typeof / incr_registration_group.hpp
diff --git a/boost_ext/boost/typeof/incr_registration_group.hpp b/boost_ext/boost/typeof/incr_registration_group.hpp
new file mode 100644 (file)
index 0000000..6f4803a
--- /dev/null
@@ -0,0 +1,14 @@
+// Copyright (C) 2004, 2005 Arkadiy Vertleyb
+// Use, modification and distribution is subject to the Boost Software
+// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
+
+// Inclusion of this file increments BOOST_TYPEOF_REGISTRATION_GROUP 
+// This method was suggested by Paul Mensonides
+
+#ifdef BOOST_TYPEOF_EMULATION
+#   undef BOOST_TYPEOF_REGISTRATION_GROUP
+
+#   include <boost/preprocessor/slot/counter.hpp>
+#   include BOOST_PP_UPDATE_COUNTER()
+#   define BOOST_TYPEOF_REGISTRATION_GROUP BOOST_PP_COUNTER
+#endif