diff options
author | Remko Tronçon <git@el-tramo.be> | 2013-08-21 18:24:42 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2013-08-22 20:27:22 (GMT) |
commit | 099c4028d6b357fd1de7e2d6296628c1367bf30d (patch) | |
tree | 6a6c3133a328d19518993ccf7982c26b269050e2 /3rdParty/Boost/src/boost/typeof | |
parent | 07e9627cc7556d34c6fa5bd25ac8f34cd975d6bb (diff) | |
download | swift-099c4028d6b357fd1de7e2d6296628c1367bf30d.zip swift-099c4028d6b357fd1de7e2d6296628c1367bf30d.tar.bz2 |
Add boost/scope_exit.
Change-Id: I6a38e842252aa24f456465d181ccf0aae763abb5
Diffstat (limited to '3rdParty/Boost/src/boost/typeof')
-rw-r--r-- | 3rdParty/Boost/src/boost/typeof/incr_registration_group.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3rdParty/Boost/src/boost/typeof/incr_registration_group.hpp b/3rdParty/Boost/src/boost/typeof/incr_registration_group.hpp new file mode 100644 index 0000000..6f4803a --- /dev/null +++ b/3rdParty/Boost/src/boost/typeof/incr_registration_group.hpp @@ -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 |