It is used to check if locale has facet and returns whether facet Facet is present in locale loc.
DeclarationFollowing is the declaration for std::has_facet.
C++98template <class Facet> bool has_facet (const locale& loc) throw();C++11
template <class Facet> bool has_facet (const locale& loc) noexcept;Parameters
loc − It is a locale object.
Return ValueIt returns whether facet Facet is present in locale loc.
ExceptionsNo-throw guarantee − this function never throws exceptions.
Data racesIt 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