다음을 통해 공유


ios_base::getloc

Returns the stored locale object.

locale getloc( ) const;

반환 값

The stored locale object.

예제

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

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

요구 사항

Header: <ios>

네임스페이스: std

참고 항목

참조

ios_base 클래스

iostream 프로그래밍

iostreams 규칙