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_use_facet.htm below:

C++ Locale Library - use_facet

C++ Locale Library - use_facet Description

It is used to access facet of locale and returns a reference to facet Facet of locale loc. The function has_facet can be used to check if a locale has a particular facet present before attempting to use it with this function.

Declaration

Following is the declaration for std::use_facet.

template <class Facet> const Facet& use_facet (const locale& loc);
Parameters

loc − It is a locale object.

Return Value

It returns a reference to facet Facet of locale loc.

Exceptions

Strong guarantee − if an exception is thrown, there are no changes in loc.

Data races

It has accessed by Argument loc, and the returned object may be used to access facet object.

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