CppCon 2016: Arthur O'Dwyer “ADT puzzler'

preview_player
Показать описание


Lightning Talk


*-----*
*-----*
Рекомендации по теме
Комментарии
Автор

It's funny, we had this exact problem using get<> for tuples in gtest earlier this week. In some builds, tuple is in std, and in other builds its in std::tr1, so fixing the namespace to the usage of get<> wasn't the desired solution.

Funny thing was, in one context it worked just perfectly. Then we found out that somewhere in the include chain, someone had stuffed "using boost::get" in a header file, causing get<> to be brought into scope (!).

MatthewChaplain
Автор

nice simple and informative. Apparently, in C++, programmers helps compiler.

lilmurfer
Автор

"There is no f in scope". Accidental pun?

MalcolmParsons