stlab.adobe.com Adobe Systems Incorporated
aligned_storage< T > Struct Template Reference

#include <memory.hpp>

Public Member Functions

 aligned_storage ()
 
 aligned_storage (T x)
 
 aligned_storage (const aligned_storage &x)
 
 aligned_storage (move_from< aligned_storage > x)
 
T & get ()
 
const T & get () const
 
aligned_storageoperator= (aligned_storage x)
 
 ~aligned_storage ()
 

Friends

void swap (aligned_storage &x, aligned_storage &y)
 

Detailed Description

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

Definition at line 751 of file memory.hpp.

Constructor & Destructor Documentation

◆ aligned_storage() [1/4]

Definition at line 753 of file memory.hpp.

◆ aligned_storage() [2/4]

aligned_storage ( x)
explicit

Definition at line 755 of file memory.hpp.

◆ ~aligned_storage()

Definition at line 758 of file memory.hpp.

◆ aligned_storage() [3/4]

aligned_storage ( const aligned_storage< T > &  x)

Definition at line 760 of file memory.hpp.

◆ aligned_storage() [4/4]

Definition at line 761 of file memory.hpp.

Member Function Documentation

◆ get() [1/2]

T& get ( )

Definition at line 765 of file memory.hpp.

◆ get() [2/2]

const T& get ( ) const

Definition at line 766 of file memory.hpp.

◆ operator=()

aligned_storage& operator= ( aligned_storage< T >  x)

Definition at line 763 of file memory.hpp.

Friends And Related Function Documentation

◆ swap

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

Definition at line 768 of file memory.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google