|
sandbox
|
A class that allows for the manual construction and destruction of an object of type Type. More...
#include <aligned_storage.hpp>
Public Types | |
| using | value_type = Type |
Public Member Functions | |
| constructible (const constructible &other)=delete | |
| constructible (constructible &&other)=delete | |
| auto | operator= (const constructible &other) -> constructible &=delete |
| auto | operator= (constructible &&other) -> constructible &=delete |
|
template<typename... Args> requires (std::is_constructible_v<Type, Args...>) | |
| auto | construct (Args &&... args) -> Type * |
| auto | destroy () noexcept -> void |
| auto | get () noexcept -> Type * |
| auto | get () const noexcept -> const Type * |
| auto | operator* () noexcept -> Type & |
| auto | operator* () const noexcept -> const Type & |
A class that allows for the manual construction and destruction of an object of type Type.
| Type | The type of the object |