C++ features by examples

C++03 / C++98. More...

Collaboration diagram for C++03 examples:

Modules

 Language
 

Functions

int main (void)
 

Detailed Description

C++03 / C++98.

https://en.wikipedia.org/wiki/C++03

Function Documentation

◆ main()

int main ( void  )

Definition at line 240 of file 03.cpp.

241{
242 assert(__cplusplus == 199711);
243
244 init_03();
245 container_03();
246 sort_03();
247 types_03();
248 assert(min(1,2) == 1);
249 assert(max(1,2) == 2);
250 pair<int, char> p(1, 'a');
251 assert(p.first == 1);
252 assert(p.second == 'a');
253 p = make_pair('b', 2);
254 assert(p.first == 'b');
255}
void types_03()
Definition: 03.cpp:224
void sort_03()
Definition: 03.cpp:184
void container_03()
container
Definition: 03.cpp:130
void init_03()
Definition: 03.cpp:23
Here is the call graph for this function: