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

Implementation of a trivial poly interface in terms of types modeling Copyable . Used in poly<copyable> implementation. More...

#include <poly_copyable.hpp>

Inheritance diagram for poly_copyable_instance< T >:
type< T, poly_copyable_interface >

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)

Detailed Description

template<typename T>
struct adobe::poly_copyable_instance< T >
See also
copyable, poly_copyable_interface, optimized_storage_type

Definition at line 38 of file poly_copyable.hpp.

Member Typedef Documentation

◆ base_t

template<typename T>
typedef optimized_storage_type<T,poly_copyable_interface>::type base_t

Definition at line 39 of file poly_copyable.hpp.

Constructor & Destructor Documentation

◆ poly_copyable_instance() [1/2]

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

Construct from concrete copyable

Definition at line 49 of file poly_copyable.hpp.

◆ poly_copyable_instance() [2/2]

template<typename T>
poly_copyable_instance ( move_from< poly_copyable_instance< T > > x)

Move constructor

Definition at line 54 of file poly_copyable.hpp.

Member Function Documentation

◆ BOOST_CLASS_REQUIRE()

template<typename T>
BOOST_CLASS_REQUIRE ( T ,
boost ,
CopyConstructibleConcept  )

Check that T models appropriate concept for C++ 2003