diff options
Diffstat (limited to 'boost/vmd/detail/variadic_pop_front.hpp')
-rw-r--r-- | boost/vmd/detail/variadic_pop_front.hpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/boost/vmd/detail/variadic_pop_front.hpp b/boost/vmd/detail/variadic_pop_front.hpp new file mode 100644 index 0000000000..97a7ca320e --- /dev/null +++ b/boost/vmd/detail/variadic_pop_front.hpp @@ -0,0 +1,24 @@ + +// (C) Copyright Edward Diener 2011-2015 +// Use, modification and distribution are subject to the Boost Software License, +// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt). + +#if !defined(BOOST_VMD_DETAIL_VARIADIC_POP_FRONT_HPP) +#define BOOST_VMD_DETAIL_VARIADIC_POP_FRONT_HPP + +#include <boost/preprocessor/tuple/enum.hpp> +#include <boost/preprocessor/tuple/pop_front.hpp> +#include <boost/preprocessor/variadic/to_tuple.hpp> + +#define BOOST_VMD_DETAIL_VARIADIC_POP_FRONT(...) \ + BOOST_PP_TUPLE_ENUM \ + ( \ + BOOST_PP_TUPLE_POP_FRONT \ + ( \ + BOOST_PP_VARIADIC_TO_TUPLE(__VA_ARGS__) \ + ) \ + ) \ +/**/ + +#endif /* BOOST_VMD_DETAIL_VARIADIC_POP_FRONT_HPP */ |