AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
aui::fast_pimpl< T, storageSize, storageAlignment > Struct Template Reference

Utility wrapper implementing the stack-allocated (fast) pimpl idiom. More...

#include <AUI/Util/APimpl.h>

Public Member Functions

template<typename... Args>
 fast_pimpl (Args &&... args)
 
 fast_pimpl (const fast_pimpl &other)
 
 fast_pimpl (fast_pimpl &&other) noexcept
 
fast_pimploperator= (const fast_pimpl &other)
 
fast_pimploperator= (fast_pimpl &&other) noexcept
 
fast_pimploperator= (T &&other) noexcept
 
T & value () noexcept
 
const T & value () const noexcept
 
T * ptr () noexcept
 
const T * ptr () const noexcept
 
T * operator-> () noexcept
 
const T * operator-> () const noexcept
 
T & operator* () noexcept
 
const T & operator* () const noexcept
 

Detailed Description

template<typename T, std::size_t storageSize, std::size_t storageAlignment = 8>
struct aui::fast_pimpl< T, storageSize, storageAlignment >

Utility wrapper implementing the stack-allocated (fast) pimpl idiom.

Note
the following functions can be called only if T is a complete type:
  • ctor
  • dtor

See https://youtu.be/mkPTreWiglk?t=157 (Russian)


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