|
REFUREKU_INTERNAL | TemplateParameter (TemplateParameterImpl *implementation) noexcept |
|
◆ addTemplateParameter()
REFUREKU_API void rfk::TemplateTemplateParameter::addTemplateParameter |
( |
TemplateParameter const & |
param | ) |
|
|
noexcept |
Add a template parameter to this template template parameter.
- Parameters
-
param | The template parameter to add. |
◆ foreachTemplateParameter()
REFUREKU_API bool rfk::TemplateTemplateParameter::foreachTemplateParameter |
( |
Visitor< TemplateParameter > |
visitor, |
|
|
void * |
userData |
|
) |
| const |
Execute the given visitor on all template parameters.
- Parameters
-
visitor | Visitor function to call. Return false to abort the foreach loop. |
userData | Optional user data forwarded to the visitor. |
- Returns
- The last visitor result before exiting the loop. If the visitor is nullptr, return false.
- Exceptions
-
Any | exception potentially thrown from the provided visitor. |
◆ getTemplateParameterAt()
RFK_NODISCARD REFUREKU_API TemplateParameter const * rfk::TemplateTemplateParameter::getTemplateParameterAt |
( |
std::size_t |
index | ) |
const |
|
noexcept |
Get the template parameter at the specified index. If index is >= getTemplateParametersCount(), the behaviour is undefined.
- Parameters
-
index | Index of the template parameter to get. |
- Returns
- The template parameter at the specified index.
◆ getTemplateParametersCount()
RFK_NODISCARD REFUREKU_API std::size_t rfk::TemplateTemplateParameter::getTemplateParametersCount |
( |
| ) |
const |
|
noexcept |
Get the number of template parameters of this template template parameter.
- Returns
- The number of template parameters.
The documentation for this class was generated from the following file: