다음을 통해 공유


basic_streambuf::getloc

Gets the basic_streambuf object's locale.

locale getloc( ) const;

반환 값

The stored locale object.

설명

For related information, see ios_base::getloc.

예제

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

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

요구 사항

Header: <streambuf>

네임스페이스: std

참고 항목

참조

basic_streambuf 클래스

iostream 프로그래밍

iostreams 규칙