sizeof... operator

From Cppreference

Jump to: navigation, search

Queries the number of elements in a parameter pack.

Contents

[edit] Syntax

sizeof...( parameter_pack )

Returns an object of type std::size_t.

[edit] Explanation

Returns the number of elements in a parameter pack.

[edit] Keywords

sizeof

[edit] Example

[edit] See also

sizeof