|
SObjectizer
5.5
|
A special storage to be used for holding non-default constructible objects which are created by demand. More...
#include <all.hpp>
Public Types | |
| using | pointer = T * |
| using | element_type = T |
| using | reference = typename std::add_lvalue_reference< T >::type |
Public Member Functions | |
| buffer_allocated_object () TIMERTT_NOEXCEPT=default | |
| buffer_allocated_object (const buffer_allocated_object &)=delete | |
| buffer_allocated_object (buffer_allocated_object &&)=delete | |
| ~buffer_allocated_object () | |
| template<typename... Args> | |
| void | allocate (Args &&...args) |
| void | destroy () |
| operator bool () const TIMERTT_NOEXCEPT | |
| pointer | get () const TIMERTT_NOEXCEPT |
| pointer | operator-> () const TIMERTT_NOEXCEPT |
| reference | operator* () const TIMERTT_NOEXCEPT |
Private Member Functions | |
| void | destroy_if_allocated () |
Private Attributes | |
| TIMERTT_ALIGNAS_WORKAROUND(T) std bool | allocated_ { false } |
A special storage to be used for holding non-default constructible objects which are created by demand.
| using timertt::details::buffer_allocated_object< T >::element_type = T |
| using timertt::details::buffer_allocated_object< T >::pointer = T* |
| using timertt::details::buffer_allocated_object< T >::reference = typename std::add_lvalue_reference<T>::type |
|
default |
|
delete |
|
delete |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
1.8.14