https://gitlab.opengeosys.org/ogs/ogs.git
Revision 88447b6c46efdf8a5988d23793fbdff560c048cc authored by Dmitri Naumov on 29 January 2021, 20:35:20 UTC, committed by Dmitri Naumov on 29 January 2021, 22:47:36 UTC
By Jason Turner in his "C++ Best Practices":
std::bind is almost always way more overhead
(both compile time and runtime) than you need.
Instead simply use a lambda.
1 parent ff64d3a
History
Tip revision: 88447b6c46efdf8a5988d23793fbdff560c048cc authored by Dmitri Naumov on 29 January 2021, 20:35:20 UTC
[T/GL] Replace std::bind with lambdas.
Tip revision: 88447b6
File Mode Size
CMakeInfo.cpp.in -rw-r--r-- 545 bytes
CMakeInfo.h -rw-r--r-- 601 bytes
CMakeLists.txt -rw-r--r-- 382 bytes
GitInfo.cpp.in -rw-r--r-- 557 bytes
GitInfo.h -rw-r--r-- 642 bytes
TestInfo.cpp.in -rw-r--r-- 446 bytes
TestInfo.h -rw-r--r-- 514 bytes

back to top