concat

Synopsis

template <class A, class B>
struct concat
{
  // unspecified
};

Description

Concatenates two sequences.

#include <mpllibs/metamonad/concat.hpp>

Expression semantics

For any a and b sequences:

concat<a, b>::type

is equivalent to

boost::mpl::insert_range<a, boost::mpl::end<a>::type, b>::type

Example

typedef
  concat<
    boost::mpl::list<boost::mpl::int_<1>, boost::mpl::int_<2> >,
    boost::mpl::list<boost::mpl::int_<3>, boost::mpl::int_<4> >
  >
  list_of_1_2_3_4;

[up]