cpp/experimental/function/operator=

Assigns a new target to. In the description below, let be the allocator specified in the construction of, or  at the time of construction if no allocator was specified.

@1@ Assigns a copy of target of, as if by executing

@2@ Moves the target of to, as if by executing. is in a valid state with an unspecified value.

@3@ Destroys the target of. is empty after the call. The memory resource returned by after the assignment is equivalent to the memory resource before the assignment, but the address may change.

@4@ Sets the target of to the callable, as if by executing. This operator does not participate in overload resolution unless is  for argument types  and return type.

@5@ Sets the target of to a copy of, as if by executing

Exceptions
@1,2,4@ Exception thrown on needed allocation of the storage or initialization of the target of, if any. @5@ (none)