std::basic_regex<CharT,Traits>::operator=

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

# Return value

*this

# See also