cpp/experimental/any/operator=

Assigns contents to the contained value.

@1@ Assigns by copying the state of, as if by. @2@ Assigns by moving the state of, as if by. is left in a valid but unspecified state after the assignment. @3@ Assigns the type and value of, as if by. If is, the program is ill-formed. .

Exceptions
@1,3@ Throws bad_alloc or any exception thrown by the constructor of the contained type. If an exception is thrown, there are no effects (strong exception guarantee).