kblib 0.2.3
General utilities library for modern C++
kblib::null_construct< T, bool > Struct Template Reference

#include <kblib/memory.h>

Public Member Functions

 null_construct () noexcept(std::is_nothrow_default_constructible< T >::value)
 
 operator T& () noexcept
 
 operator const T & () const noexcept
 

Public Attributes

t
 

Detailed Description

template<typename T, bool = std::is_class<T>::value>
struct kblib::null_construct< T, bool >

Definition at line 44 of file memory.h.

Constructor & Destructor Documentation

◆ null_construct()

template<typename T , bool = std::is_class<T>::value>
kblib::null_construct< T, bool >::null_construct ( )
inlinenoexcept

Definition at line 45 of file memory.h.

Member Function Documentation

◆ operator const T &()

template<typename T , bool = std::is_class<T>::value>
kblib::null_construct< T, bool >::operator const T & ( ) const
inlinenoexcept

Definition at line 51 of file memory.h.

◆ operator T&()

template<typename T , bool = std::is_class<T>::value>
kblib::null_construct< T, bool >::operator T& ( )
inlinenoexcept

Definition at line 50 of file memory.h.

Member Data Documentation

◆ t

template<typename T , bool = std::is_class<T>::value>
T kblib::null_construct< T, bool >::t

Definition at line 48 of file memory.h.


The documentation for this struct was generated from the following file: