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
Raw File
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
.cmake-format.yaml
# E.g. run with: fd CMakeLists.txt Applications/ -x cmake-format -i -c .cmake-format.yaml {}
tab_size: 4
max_subargs_per_line: 4
back to top