Concatenate Integer Sequences

#include <m3ta/concatenateintegersequences>

Concatenates two integer sequences into one.

Traits

m3ta::ConcatenateIntegerSequences
template<typename T_Sequence1, typename T_Sequence2>
struct ConcatenateIntegerSequences
Template Parameters:
 
  • T_Sequence1 – The first integer sequence.
  • T_Sequence2 – The second integer sequence.

Member Types

type

The type m3ta::IntegerSequence resulting of the concatenation.

Aliases

m3ta::ConcatenateIntegerSequencesT
template<typename T_Sequence1, typename T_Sequence2>
using ConcatenateIntegerSequencesT =
    typename ConcatenateIntegerSequences<T_Sequence1, T_Sequence2>::type;

Usage Examples

using Type = m3ta::ConcatenateIntegerSequencesT<
    m3ta::IntegerSequence<int, 1, 2>,
    m3ta::IntegerSequence<int, 3, 4>
>; // m3ta::IntegerSequence<int, 1, 2, 3, 4>