Adobe Source Libraries 2.0.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
poly.hpp File Reference

Go to the source code of this file.

Classes

struct  is_base_derived_or_same< T, U >
struct  poly_copyable_interface
 Abstract interface providing signatures needed to implement "handle" objects modeling a Value (Copyable/Movable) concept. Authors of poly classes must derive their interfaces from this. See poly_placeable_interface for an example. More...
struct  optimized_storage_type< ConcreteType, Interface >
 Authors of poly concept representatives must derive their instance class from this. See of poly_placeable_instance, for example. This metafunction is used in the implementation of the small storage optimization. More...
struct  poly_base< I, Instance >
 Authors of a Concept representative F, intended as a template parameter to poly, will inherit from poly_base. The first template parameter for poly_base provides the virtual interface for the concept representative. The second template parameter for poly_base must inherit from the Concept interface representative. The author's third duty is to provide forwarding functions in a their Concept representative. See the placeable_concept.hpp header file for details. More...
class  poly< F >
 poly<foo> will be a runtime polymorphic value type wrapper modelling a concept represented by foo More...

Namespaces

namespace  adobe

Functions

template<class J, template< typename > class K>
boost::enable_if< implementation::has_equals< J >, bool >::type operator== (const poly_base< J, K > &x, const poly_base< J, K > &y)
template<typename T, typename U>
poly_cast (poly< U > &x)
template<typename T, typename U>
poly_cast (const poly< U > &x)
template<typename T, typename U>
poly_cast (poly< U > *x)
template<typename T, typename U>
poly_cast (const poly< U > *x)
template<class T>
bool operator!= (const poly< T > &x, const poly< T > &y)
 inequality comparison