Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
EXTERNAL_HEADERS
RSL
examples
manual
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
34
int
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
}
loc
#define loc
Definition
17.names.cpp:492
examples.h
main
int main()
Definition
use_facet.cpp:34
Generated by
1.9.8