ae2f::Core
Loading...
Searching...
No Matches
ae2f::Ds::Arr::Pack< T > Union Template Reference

A value package for non-trivial classes.
Which will not call the destructor of [T]. More...

#include <Pack.hpp>

Public Member Functions

constexpr bool isvalid () const noexcept
 Check if ae2f::Ds::Arr::Pack<T>::Obj is valid.
 
 ~Pack ()
 

Public Attributes

Obj
 

Detailed Description

template<typename T>
union ae2f::Ds::Arr::Pack< T >

A value package for non-trivial classes.
Which will not call the destructor of [T].

Template Parameters
TNon-trivial value.

Constructor & Destructor Documentation

◆ ~Pack()

template<typename T >
ae2f::Ds::Arr::Pack< T >::~Pack ( )
inline

Member Function Documentation

◆ isvalid()

template<typename T >
bool ae2f::Ds::Arr::Pack< T >::isvalid ( ) const
inlineconstexprnoexcept

Check if ae2f::Ds::Arr::Pack<T>::Obj is valid.

Member Data Documentation

◆ Obj

template<typename T >
T ae2f::Ds::Arr::Pack< T >::Obj
Warning
Note that this class will not be destructed.

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