Adobe Source Libraries 1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
aligned_storage< T > Struct Template Reference

#include <memory.hpp>

Public Member Functions

 aligned_storage ()
 aligned_storage (T x)
 ~aligned_storage ()
 aligned_storage (const aligned_storage &x)
 aligned_storage (aligned_storage &&x)
aligned_storageoperator= (aligned_storage x)
T & get ()
const T & get () const

Friends

void swap (aligned_storage &x, aligned_storage &y)

Detailed Description

template<typename T>
struct adobe::aligned_storage< T >

Definition at line 495 of file memory.hpp.

Constructor & Destructor Documentation

◆ aligned_storage() [1/4]

template<typename T>
aligned_storage ( )

Definition at line 497 of file memory.hpp.

◆ aligned_storage() [2/4]

template<typename T>
aligned_storage ( T x)
explicit

Definition at line 499 of file memory.hpp.

◆ ~aligned_storage()

template<typename T>
~aligned_storage ( )

Definition at line 501 of file memory.hpp.

◆ aligned_storage() [3/4]

template<typename T>
aligned_storage ( const aligned_storage< T > & x)

Definition at line 503 of file memory.hpp.

◆ aligned_storage() [4/4]

template<typename T>
aligned_storage ( aligned_storage< T > && x)

Definition at line 504 of file memory.hpp.

Member Function Documentation

◆ operator=()

template<typename T>
aligned_storage & operator= ( aligned_storage< T > x)

Definition at line 506 of file memory.hpp.

◆ get() [1/2]

template<typename T>
T & get ( )

Definition at line 511 of file memory.hpp.

◆ get() [2/2]

template<typename T>
const T & get ( ) const

Definition at line 512 of file memory.hpp.

◆ swap

template<typename T>
void swap ( aligned_storage< T > & x,
aligned_storage< T > & y )
friend

Definition at line 514 of file memory.hpp.