![]() |
Home | Libraries | People | FAQ | More |
boost::type_erasure::any<Concept, const T &>
// In header: <boost/type_erasure/any.hpp> template<typename Concept, typename T> class any<, > { public: // construct/copy/destruct template<typename U> (); template<typename U, typename Map> (, static_binding< ); (); (); (); (); template<typename Concept2, typename Tag2> (); template<typename Concept2, typename Tag2, typename Map> (, static_binding< ); template<typename Concept2, typename Tag2> (, binding< ); (); template<typename U> (); ~(); };
any
public
construct/copy/destructtemplate<typename U> ( arg);
Constructs an any from a reference.
Parameters: |
|
||
Requires: |
|
||
Requires: |
|
||
Throws: |
Nothing. |
template<typename U, typename Map> ( arg, static_binding< binding);
Constructs an any from a reference.
Parameters: |
|
||||
Requires: |
|
||||
Requires: |
|
||||
Throws: |
Nothing. |
( other);
Constructs an any from another any.
Parameters: |
|
||
Throws: |
Nothing. |
( other);
Constructs an any from another any.
Parameters: |
|
||
Throws: |
Nothing. |
( other);
Constructs an any from another any.
Parameters: |
|
||
Throws: |
Nothing. |
( other);
Constructs an any from another any.
Parameters: |
|
||
Throws: |
Nothing. |
template<typename Concept2, typename Tag2> ( other);
Constructs an any from another any.
Parameters: |
|
||
Requires: |
|
||
Requires: |
After substituting |
||
Throws: |
std::bad_alloc |
template<typename Concept2, typename Tag2, typename Map> ( other, static_binding< binding);
Constructs an any from another any.
Parameters: |
|
||||
Requires: |
|
||||
Requires: |
After substituting placeholders according to |
||||
Throws: |
std::bad_alloc |
template<typename Concept2, typename Tag2> ( other, binding< binding);
Constructs an any from another any.
Parameters: |
|
||||
Requires: |
The type stored in |
||||
Postconditions: |
binding_of(*this) == |
||||
Throws: |
Nothing. |
( other);
Assigns to an any.
Requires: |
relaxed is in |
Throws: |
Nothing. |
template<typename U> ( other);
Assigns to an any.
Requires: |
relaxed is in |
Throws: |
std::bad_alloc. Provides the strong exception guarantee. |
~();
Requires: |
|