basic_streambuf::getloc
Basic_streambuf 개체의 로캘을 가져옵니다.
locale getloc( ) const;
반환 값
저장 된 로캘 개체입니다.
설명
관련 내용은 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;
}
요구 사항
헤더: <streambuf>
네임 스페이스: std