|
REFUREKU_INTERNAL | TemplateArgument (TemplateArgumentImpl *implementation) noexcept |
|
◆ getArchetype()
RFK_NODISCARD REFUREKU_API Archetype const * rfk::NonTypeTemplateArgument::getArchetype |
( |
| ) |
const |
|
noexcept |
Get the archetype of the argument.
- Returns
- The archetype of the argument.
◆ getValue()
template<typename T >
RFK_NODISCARD T const & rfk::NonTypeTemplateArgument::getValue |
( |
| ) |
const |
|
noexcept |
Get the value of the non-type template argument. If the provided type is not the original type of the non-type template argument, the behaviour is undefined.
- Template Parameters
-
Type | of the non-type argument value. |
- Returns
- The argument value.
◆ getValuePtr()
RFK_NODISCARD REFUREKU_API void const * rfk::NonTypeTemplateArgument::getValuePtr |
( |
| ) |
const |
|
noexcept |
Get a pointer to the argument value.
- Returns
- A pointer to the argument value.
◆ operator==()
RFK_NODISCARD REFUREKU_API bool rfk::NonTypeTemplateArgument::operator== |
( |
NonTypeTemplateArgument const & |
other | ) |
const |
|
noexcept |
Check whether 2 NonTypeTemplateArgument instances are equal or not.
- Parameters
-
- Returns
- true if the 2 type template arguments have the same archetype, and values. Returns false if the bound parameter archetype is nullptr, since the equality can't be guaranteed.
The documentation for this class was generated from the following file: