std::basic_regex<CharT,Traits>::operator=
Min standard notice:
Header: <regex>
Assigns the contents.
# Declarations
basic_regex& operator=( const basic_regex& other );
(since C++11)
basic_regex& operator=( basic_regex&& other ) noexcept;
(since C++11)
basic_regex& operator=( const CharT* ptr );
(since C++11)
basic_regex& operator=( std::initializer_list<CharT> il );
(since C++11)
template< class ST, class SA >
basic_regex& operator=( const std::basic_string<CharT,ST,SA>& p );
(since C++11)
# Parameters
other: another regex objectptr: pointer to a null-terminated character stringil: initializer list containing characters to assignp: string containing characters to assign
# Return value
*this