cpp/utility/any/any

Constructs a new object.

@1@ Constructs an empty object.

@2-3@ Copies or moves  content of  into a new instance, so that any content is equivalent in both type and value to those of  prior to the constructor call, or empty if  is empty. Formally,
 * @2@ If is empty, the constructed object is empty. Otherwise, equivalent to, where  is the type of the object contained in.
 * @3@ If is empty, the constructed object is empty. Otherwise, the constructed object contains either the object contained in, or an object of the same type constructed from the object contained in , considering that object as an rvalue.

@4@ Constructs an object with initial content an object of type, direct-initialized from.

@5@ Constructs an object with initial content an object of type, direct-non-list-initialized from.

@6@ Constructs an object with initial content an object of type, direct-non-list-initialized from.

Exceptions
@2,4,5,6@ Throws any exception thrown by the constructor of the contained type.