Contenuto principale

Cpp.ParameterPackExpansion Class

Namespace: Cpp
Superclasses: AstNodeProperties

Represents the parameter_pack_expansion nodes in the syntax tree of your code

Since R2026a

Description

The PQL class Cpp.ParameterPackExpansion represents the node parameter_pack_expansion in the syntax tree of your code.

template<typename... Args>
void foo(Args&&... args) {
    bar(args...);
}

The template parameter Args... and the function parameter args... in the example produce parameter_pack_expansion nodes that correspond to Cpp.ParameterPackExpansion.

Predicates

expand all

Version History

Introduced in R2026a