This class denotes an explicit default value initialization used to distinguish between the default value or user provided initialization in the default_value class.
More...
#include <default_value.hpp>
|
|
constexpr | default_init () noexcept(std::is_nothrow_default_constructible_v< T >)=default |
| | Default construct the default initialization value.
|
| |
| constexpr | default_init (T val) noexcept(std::is_nothrow_move_constructible_v< T >) |
| | Set the initialization value to val. More...
|
| |
|
|
T | value {} |
| | The explicit default initialization value.
|
| |
template<typename T>
struct plssvm::default_init< T >
This class denotes an explicit default value initialization used to distinguish between the default value or user provided initialization in the default_value class.
- Template Parameters
-
| T | the type of the default value |
◆ default_init()
template<typename T >
|
|
inlineexplicitconstexprnoexcept |
Set the initialization value to val.
- Parameters
-
| [in] | val | the explicit default initialization value |
The documentation for this struct was generated from the following file: