basic_ios::imbue
Yerel ayarlarını değiştirir.
locale imbue(
const locale& _Loc
);
Parametreler
- _Loc
Bir yerel ayar dizesi.
Dönüş Değeri
Önceki yerel ayarı.
Notlar
Rdbuf not null işaretçi üye işlev çağrıları olduğu
rdbuf->pubimbue(_Loc)
Her durumda, verir ios_base::imbue(_Loc).
Örnek
// basic_ios_imbue.cpp
// compile with: /EHsc
#include <iostream>
#include <locale>
int main( )
{
using namespace std;
cout.imbue( locale( "french_france" ) );
double x = 1234567.123456;
cout << x << endl;
}
Gereksinimler
Başlık: <ios>
Namespace: std