poly_regular.hpp
Go to the documentation of this file.
9 /*************************************************************************************************/ 22 /*************************************************************************************************/ 30 /*************************************************************************************************/ 41 /*************************************************************************************************/ 72 { return this->type_info() == x.type_info() && this->get() == *static_cast<const T*>(x.cast()); } 76 /*************************************************************************************************/ 107 /*************************************************************************************************/ 111 /*************************************************************************************************/ 115 /*************************************************************************************************/ 119 /*************************************************************************************************/ 123 /*************************************************************************************************/
virtual bool equals(const poly_regular_interface &new_value) const =0 poly_base< poly_regular_interface, poly_regular_instance > base_t Definition: poly_regular.hpp:86 virtual const std::type_info & type_info() const =0 optimized_storage_type< T, poly_regular_interface >::type base_t Definition: poly_regular.hpp:53 bool equals(const poly_regular_interface &x) const Definition: poly_regular.hpp:71 Virtual interface for RegularConcept. Used in poly<regular> implementation. Definition: poly_regular.hpp:36 Authors of a Concept representative F, intended as a template parameter to adobe::poly, will inherit from adobe::poly_base. The first template parameter for adobe::poly_base provides the virtual interface for the concept representative. The second template parameter for adobe::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. Definition: poly.hpp:259 Definition: functional.hpp:26 adobe::poly<foo> will be a runtime polymorphic value type wrapper modelling a concept represented by ... Definition: poly.hpp:414 Abstract interface providing signatures needed to implement "handle" objects modeling a Value (Copyab... Definition: poly.hpp:66 Authors of adobe::poly concept representatives must derive their instance class from this... Definition: poly.hpp:238 Definition: regular_concept.hpp:54 Implementation of a trivial poly interface in terms of types modeling regular . Used in poly<regular>... Definition: poly_regular.hpp:51 poly_regular_instance(move_from< poly_regular_instance > x) Definition: poly_regular.hpp:68 poly_regular_instance(const T &x) Definition: poly_regular.hpp:63 virtual void * cast()=0 |