qb
2.0.0.0
C++17 Actor Framework
|
Utility for forcing parameter pack expansion in certain contexts. More...
#include <type_traits.h>
Public Member Functions | |
template<typename... U> | |
expand (U const &...) | |
Constructor that expands a parameter pack. |
Utility for forcing parameter pack expansion in certain contexts.
The constructor takes a variadic pack of arguments. This is useful when you need to perform an operation on each element of a pack, often using a comma operator inside an initializer list or braced-init-list for the constructor call.
|
inline |
Constructor that expands a parameter pack.
Takes an arbitrary number of arguments of any type and does nothing with them. This is used purely for the side effect of expanding the parameter pack.
U | Types of parameters in the pack |
... | Parameters to expand (not used) |