![]() |
Home | Libraries | People | FAQ | More |
boost::type_erasure::binding
// In header: <boost/type_erasure/binding.hpp> template<typename Concept> class binding { public: // construct/copy/destruct (); template<typename Map> (); template<typename Map> (static_binding< ); template<typename Concept2, typename Map> (binding< , ); template<typename Concept2, typename Map> (binding< , static_binding< ); template<typename Placeholders, typename Map> (dynamic_binding< , static_binding< ); // friend functions (binding &, binding &); (binding &, binding &); };
Stores the binding of a Concept
to a set of actual types. Concept
is interpreted in the same way as with any.
binding
public
construct/copy/destruct();
Requires: |
relaxed must be in |
Throws: |
Nothing. |
template<typename Map> ();
Requires: |
|
Throws: |
Nothing. |
template<typename Map> (static_binding< );
Requires: |
|
Throws: |
Nothing. |
template<typename Concept2, typename Map> (binding< other, );
Converts from another set of bindings.
Requires: |
Map must be an MPL map with an entry for each placeholder referred to by |
Throws: |
std::bad_alloc |
template<typename Concept2, typename Map> (binding< other, static_binding< );
Converts from another set of bindings.
Requires: |
Map must be an MPL map with an entry for each placeholder referred to by |
Throws: |
std::bad_alloc |
template<typename Placeholders, typename Map> (dynamic_binding< other, static_binding< );
Converts from another set of bindings.
Requires: |
Map must be an MPL map with an entry for each placeholder referred to by |
Throws: |
std::bad_alloc |