1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #ifndef BOOST_MPL_MAP_AUX_INSERT_RANGE_IMPL_HPP_INCLUDED
- #define BOOST_MPL_MAP_AUX_INSERT_RANGE_IMPL_HPP_INCLUDED
- #include <boost/mpl/insert_range_fwd.hpp>
- #include <boost/mpl/map/aux_/tag.hpp>
- #include <boost/mpl/placeholders.hpp>
- #include <boost/mpl/fold.hpp>
- #include <boost/mpl/insert.hpp>
- namespace boost { namespace mpl {
- template<>
- struct insert_range_impl< aux::map_tag >
- {
- template<
- typename Sequence
- , typename
- , typename Range
- >
- struct apply
- : fold<Range, Sequence, insert<_1, _2> >
- {
- };
- };
- }}
- #endif
|