numpunct::thousands_sep
Binlik kullanmak için bölgeye özgü öğeyi döndürür ayırıcı.
CharType thousands_sep( ) const;
Dönüş Değeri
Binlik kullanmak için bölgeye özgü öğe ayırıcı.
Notlar
Üye işlevi döndüren do_thousands_sep.
Örnek
// numpunct_thou_sep.cpp
// compile with: /EHsc
#include <locale>
#include <iostream>
#include <sstream>
using namespace std;
int main( )
{
locale loc( "german_germany" );
const numpunct <char> &npunct =
use_facet < numpunct < char > >( loc );
cout << loc.name( ) << " decimal point "<<
npunct.decimal_point( ) << endl;
cout << loc.name( ) << " thousands separator "
<< npunct.thousands_sep( ) << endl;
};
Gereksinimler
Başlık: <locale>
Namespace: std