It is used to get current locale and returns the locale object currently associated with the stream.
DeclarationFollowing is the declaration for ios_base::getloc function.
locale getloc() const;Parameters
none
Return ValueThe locale object currently associated with the stream.
ExceptionsStrong guarantee − if an exception is thrown, there are no changes in the stream.
Data racesAccesses the stream object. Concurrent access to the same stream object may cause data races.
ios.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