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
.hooks
Applications
BaseLib
ChemistryLib
Documentation
GeoLib
InfoLib
MaterialLib
MathLib
MeshGeoToolsLib
MeshLib
NumLib
ParameterLib
ProcessLib
Tests
ThirdParty
scripts
web
.clang-format -rw-r--r-- 397 bytes
.clang-tidy -rw-r--r-- 972 bytes
.cmake-format.yaml -rw-r--r-- 129 bytes
.codeclimate.yml -rw-r--r-- 105 bytes
.dockerignore -rw-r--r-- 30 bytes
.editorconfig -rw-r--r-- 221 bytes
.gitattributes -rw-r--r-- 297 bytes
.gitignore -rw-r--r-- 302 bytes
.gitlab-ci.yml -rw-r--r-- 2.6 KB
.gitmodules -rw-r--r-- 1.8 KB
.mailmap -rw-r--r-- 1.8 KB
.pre-commit-config.yaml -rw-r--r-- 1.3 KB
CHANGELOG.md -rw-r--r-- 29.9 KB
CMakeLists.txt -rw-r--r-- 8.7 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.3 KB
CONTRIBUTING.md -rw-r--r-- 460 bytes
LICENSE.txt -rw-r--r-- 1.5 KB
README.md -rw-r--r-- 1.7 KB
codecov.yml -rw-r--r-- 139 bytes
config-cpp-dependencies.txt -rw-r--r-- 1.9 KB

README.md

back to top