Adobe Source Libraries 1.49.0
A collection of C++ libraries.
|
Implementation of a trivial poly interface in terms of types modeling Copyable . Used in poly<copyable> implementation. More...
#include <poly_copyable.hpp>
Public Types | |
typedef optimized_storage_type< T, poly_copyable_interface >::type | base_t |
Public Member Functions | |
BOOST_CLASS_REQUIRE (T, boost, CopyConstructibleConcept) | |
poly_copyable_instance (const T &x) | |
poly_copyable_instance (move_from< poly_copyable_instance > x) |
Definition at line 38 of file poly_copyable.hpp.
typedef optimized_storage_type<T,poly_copyable_interface>::type base_t |
Definition at line 39 of file poly_copyable.hpp.
poly_copyable_instance | ( | const T & | x | ) |
Construct from concrete copyable
Definition at line 49 of file poly_copyable.hpp.
poly_copyable_instance | ( | move_from< poly_copyable_instance< T > > | x | ) |
Move constructor
Definition at line 54 of file poly_copyable.hpp.
BOOST_CLASS_REQUIRE | ( | T | , |
boost | , | ||
CopyConstructibleConcept | ) |
Check that T models appropriate concept for C++ 2003