xentara-utils v2.0.3
The Xentara Utility Library
Loading...
Searching...
No Matches
xentara::utils::tools::ParameterPack<> Struct Referencefinal

Specialization for an empty paramter pack. More...

#include <xentara/utils/tools/ParameterPack.hpp>

Static Public Member Functions

static constexpr auto empty () noexcept -> bool
 Determines if the parameter pack is empty.
 
static consteval auto self () noexcept -> ParameterPack
 An object of this type.
 

Detailed Description

Specialization for an empty paramter pack.

This specialization does not have the First and Next type aliases, nor does it have the self() and next() member functions.

Member Function Documentation

◆ empty()

static constexpr auto xentara::utils::tools::ParameterPack<>::empty ( ) -> bool
staticconstexprnoexcept

Determines if the parameter pack is empty.

Returns
The implementation in this specialization always returns true.

◆ self()

static consteval auto xentara::utils::tools::ParameterPack<>::self ( ) -> ParameterPack
staticnoexcept

An object of this type.

This is the same as kParameterPack<>. You can use this constant if you need to access an object using the type of the ParameterPack specialization instead of the actual parameter pack.