std::ios_base::getloc
From cppreference.com
| std::locale getloc() const; |
||
Returns the current locale associated with the stream.
Contents |
[edit] Parameters
(none)
[edit] Return value
The locale object associated with the stream.
[edit] Example
The output shown was obtained using the clang compiler.
Run this code
#include <codecvt> #include <ctime> #include <iomanip> #include <iostream> int main() { std::wbuffer_convert<std::codecvt_utf8<wchar_t>> conv(