cpp: most vexing parse

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-02-27 00:00:04 +00:00
parent d67a81cee3
commit 75b081f171
2 changed files with 61 additions and 0 deletions

View File

@@ -14475,6 +14475,10 @@ Programs under link:userland/cpp/[] are examples of https://en.wikipedia.org/wik
** associative
*** <<algorithms>> contains a benchmark comparison of different c++ containers
*** link:userland/cpp/set.cpp[]: `std::set` contains unique keys
* Language madness
** link:userland/cpp/most_vexing_parse.cpp[]: the most vexing parse is a famous constructor vs function declaration syntax gotcha!
*** https://en.wikipedia.org/wiki/Most_vexing_parse
*** http://stackoverflow.com/questions/180172/default-constructor-with-empty-brackets
[[cpp-multithreading]]
==== C++ multithreading