This class template represents a compile‐time sequence of integers. When passed as an argument to a function template, the specified parameter pack t_INTS can be deduced and used a in pack expansion.

Synopsis

Declared in <bslmf_integersequence.h>

template<
    class t_T,
    t_T t_INTS...>
struct IntegerSequence;

Type Aliases

Name

Description

value_type

value_type is an alias to the template parameter t_T that represents an integer type to use for the elements of the sequence.

Static Member Functions

Name

Description

size

Return the number of elements in t_INTS.

Created with MrDocs