다음을 통해 공유


ios_base::getloc

Returns the stored locale object.

locale getloc( ) const;

Return Value

The stored locale object.

Example

// ios_base_getlock.cpp
// compile with: /EHsc
#include <iostream>

int main( ) 
{
   using namespace std;
   cout << cout.getloc( ).name( ).c_str( ) << endl;
}
C

Requirements

Header: <ios>

Namespace: std

See Also

Concepts

ios_base Class

ios_base Members

iostream Programming

iostreams Conventions