Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
use_facet.cpp
Go to the documentation of this file.
1
29#include <iostream> // for cout
30#include <locale> // for locale
31
32#include <examples.h>
33
34int main ()
35{
36 std::locale loc;
37
38 // Get a ctype facet
39 const std::ctype<char>&
40 ct = std::use_facet<std::ctype<char> >(loc);
41
42 std::cout << 'a' << ct.toupper('c') << std::endl;
43
44 return 0;
45}
#define loc
Definition 17.names.cpp:492
int main()
Definition use_facet.cpp:34