![]() |
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< ); (any &); (any< ); (any< ); (any< ); template<typename Concept2, typename Tag2> (any< ); template<typename Concept2, typename Tag2, typename Map> (any< , static_binding< ); template<typename Concept2, typename Tag2> (any< , binding< ); any & (any &); template<typename U> any & (); };
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. |
(any & other);
Constructs an any
from another any
.
Parameters: |
|
||
Throws: |
Nothing. |
(any< other);
Constructs an any
from another any
.
Parameters: |
|
||
Throws: |
Nothing. |
(any< other);
Constructs an any
from another any
.
Parameters: |
|
||
Throws: |
Nothing. |
(any< other);
Constructs an any
from another any
.
Parameters: |
|
||
Throws: |
Nothing. |
template<typename Concept2, typename Tag2> (any< other);
Constructs an any
from another any
.
Parameters: |
|
||
Requires: |
|
||
Requires: |
After substituting |
||
Throws: |
std::bad_alloc |
template<typename Concept2, typename Tag2, typename Map> (any< 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> (any< other, binding< binding);
Constructs an any
from another any
.
Parameters: |
|
||||
Requires: |
The type stored in |
||||
Postconditions: |
binding_of(*this) == |
||||
Throws: |
Nothing. |
any & (any & other);
Assigns to an any
.
Requires: |
relaxed is in |
Throws: |
Nothing. |
template<typename U> any & ( other);
Assigns to an any
.
Requires: |
relaxed is in |
Throws: |
std::bad_alloc. Provides the strong exception guarantee. |