CPP 122
-
Upload
gaurav-verma -
Category
Documents
-
view
213 -
download
0
Transcript of CPP 122
-
8/18/2019 CPP 122
1/2
C++11 features new:
1) Move semantics: transmitting information without copying.2) threads.3) Lambda expressions. :for defining functors at their place of use.4) enum classes to name a few
Separate compilation notion:
Static assertions:static_assert(4
-
8/18/2019 CPP 122
2/2
mutexhis_thread::sleep_for(milliseconds{20});
explicit keyword
[[noreturn]][[carries_dependency]][[noreturn]]