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