|  | 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<Concept, const T &> { public: // construct/copy/destruct template<typename U> any(const U &); template<typename U, typename Map> any(const U &, const static_binding< Map > &); any(const any &); any(const any< Concept, T & > &); any(const any< Concept, T > &); any(const any< Concept, T && > &); template<typename Concept2, typename Tag2> any(const any< Concept2, Tag2 > &); template<typename Concept2, typename Tag2, typename Map> any(const any< Concept2, Tag2 > &, const static_binding< Map > &); template<typename Concept2, typename Tag2> any(const any< Concept2, Tag2 > &, const binding< Concept > &); any & operator=(const any &); template<typename U> any & operator=(const U &); };
any 
        public
       construct/copy/destructtemplate<typename U> any(const U & arg);
Constructs an any from a reference.
| Parameters: | 
 | ||
| Requires: | 
 
 | ||
| Throws: | Nothing. | 
template<typename U, typename Map> any(const U & arg, const static_binding< Map > & binding);
Constructs an any from a reference.
| Parameters: | 
 | ||||
| Requires: | 
 
 | ||||
| Throws: | Nothing. | 
any(const any & other);
Constructs an any from another any.
| Parameters: | 
 | ||
| Throws: | Nothing. | 
any(const any< Concept, T & > & other);
Constructs an any from another any.
| Parameters: | 
 | ||
| Throws: | Nothing. | 
any(const any< Concept, T > & other);
Constructs an any from another any.
| Parameters: | 
 | ||
| Throws: | Nothing. | 
any(const any< Concept, T && > & other);
Constructs an any from another any.
| Parameters: | 
 | ||
| Throws: | Nothing. | 
template<typename Concept2, typename Tag2> any(const any< Concept2, Tag2 > & other);
Constructs an any from another any.
| Parameters: | 
 | ||
| Requires: | 
 After substituting  | ||
| Throws: | std::bad_alloc | 
template<typename Concept2, typename Tag2, typename Map> any(const any< Concept2, Tag2 > & other, const static_binding< Map > & binding);
Constructs an any from another any.
| Parameters: | 
 | ||||
| Requires: | 
 After substituting placeholders according to  | ||||
| Throws: | std::bad_alloc | 
template<typename Concept2, typename Tag2> any(const any< Concept2, Tag2 > & other, const binding< Concept > & binding);
Constructs an any from another any.
| Parameters: | 
 | ||||
| Requires: | The type stored in  | ||||
| Postconditions: | binding_of(*this) ==  | ||||
| Throws: | Nothing. | 
any & operator=(const any & other);
Assigns to an any.
| Requires: | relaxed is in  | 
| Throws: | Nothing. | 
template<typename U> any & operator=(const U & other);
Assigns to an any.
| Requires: | relaxed is in  | 
| Throws: | std::bad_alloc. Provides the strong exception guarantee. |