A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.tutorialspoint.com/cpp_standard_library/cpp_locale_operator_equal.htm below:

C++ Locale Library - operator=

C++ Locale Library - operator= Description

It is used to copy locale and assigns x to the locale object, replacing its current value.

Declaration

Following is the declaration for std::locale::operator=

C++98
	
const locale& operator= (const locale& x) throw();
C++11
const locale& operator= (const locale& x) noexcept;
Parameters

x − locale object to copy.

Return Value

It returns *this.

Exceptions

No-throw guarantee − this member function never throws exceptions.

Data races

The locale object is modified.

locale.htm


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4