cpp/regex/basic regex/operator=

Assigns the contents.

@1@ Copy assignment operator. Assigns the contents of. Equivalent to.

@2@ Move assignment operator. Assigns the contents of using move semantics. is in valid, but unspecified state after the operation. Equivalent to.

@3@ Assigns a null-terminated character string pointed to by. Equivalent to.

@4@ Assigns characters contained in initializer list. Equivalent to.

@5@ Assigns the contents of the string. Equivalent to.

Return value
.

Exceptions
@1@

@3-5@ std if the supplied regular expression is not valid. The object is not modified in that case.