C++ features by examples
Collaboration diagram for C++17 examples:

Modules

 Template
 
 Lambda
 
 Threads
 
 Language
 language
 
 Library
 
 Other
 

Functions

int main ()
 

Detailed Description

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

https://github.com/AnthonyCalandra/modern-cpp-features/blob/master/CPP17.md

https://en.cppreference.com/w/cpp/language/history/17

Function Documentation

◆ main()

int main ( void  )

other17

https://en.cppreference.com/w/cpp/language/range-for

Definition at line 567 of file 17.cpp.

568{
571 folding_demo();
572 lambda_17();
573 threads_17();
574 map_demo();
575 variant_demo();
576 clamp_demo();
579 // for (auto&& [first,second] : mymap) { }
580 types_17();
582 map<int, int> mymap;
583 for (auto&& [first, second] : mymap) {
584 // use first and second
585 }
586}
void folding_demo()
Definition: 17.cpp:279
void references_17()
Definition: 17.cpp:256
void types_17()
Definition: 17.cpp:420
void lambda_17()
Definition: 17.cpp:202
void map_demo()
Definition: 17.cpp:452
void clamp_demo()
Definition: 17.cpp:510
void dynamic_memory_17()
Definition: 17.cpp:519
void string_view_demo()
Definition: 17.cpp:541
void variant_demo()
Definition: 17.cpp:476
void deduction_guides_17()
Definition: 17.cpp:89
void threads_17()
Definition: 17.cpp:231
Here is the call graph for this function: