1
2#ifndef BOOST_MPL_SET_AUX_INSERT_RANGE_IMPL_HPP_INCLUDED
3#define BOOST_MPL_SET_AUX_INSERT_RANGE_IMPL_HPP_INCLUDED
4
5// Copyright Bruno Dutra 2015
6//
7// Distributed under the Boost Software License, Version 1.0.
8// (See accompanying file LICENSE_1_0.txt or copy at
9// http://www.boost.org/LICENSE_1_0.txt)
10//
11// See http://www.boost.org/libs/mpl for documentation.
12
13// $Id$
14// $Date$
15// $Revision$
16
17#include <boost/mpl/insert_range_fwd.hpp>
18#include <boost/mpl/set/aux_/tag.hpp>
19#include <boost/mpl/placeholders.hpp>
20#include <boost/mpl/fold.hpp>
21#include <boost/mpl/insert.hpp>
22
23namespace boost { namespace mpl {
24
25template<>
26struct insert_range_impl< aux::set_tag >
27{
28 template<
29 typename Sequence
30 , typename /*Pos*/
31 , typename Range
32 >
33 struct apply
34 : fold<Range, Sequence, insert<_1, _2> >
35 {
36 };
37};
38
39}}
40
41#endif // BOOST_MPL_SET_AUX_INSERT_RANGE_IMPL_HPP_INCLUDED
42

source code of include/boost/mpl/set/aux_/insert_range_impl.hpp