dolphin/Source
Léo Lam 44b4c2db49 Common: Avoid std::function overhead in ScopeGuard
So far in all our uses of ScopeGuard, the type of the callable is
usually just a lambda or a function pointer, so there is no need
to rely on std::function's type erasure.

While the cost of using std::function is probably negligible, it still
causes some unnecessary overhead that can be avoided by making
ScopeGuard a templated class. Thanks to class template argument
deduction in C++17 most existing usages do not even need to be changed.

See https://godbolt.org/z/KcoPni for a comparison between
a ScopeGuard that uses std::function and one that doesn't
2020-02-15 21:33:31 +01:00
..
Android Merge pull request #8472 from degasus/jitsetting 2020-02-08 13:49:33 +00:00
Core Common: Avoid std::function overhead in ScopeGuard 2020-02-15 21:33:31 +01:00
DSPSpy DSPSpy: Remove unused stubs 2019-12-30 13:33:43 +01:00
DSPTool Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
PCH Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
UnitTests IOS/FS: Fix CreateFullPath to not create directories that already exist 2020-01-30 18:07:03 +01:00
VSProps Update to Qt 5.14.1 2020-02-09 22:30:57 +01:00
.clang-format Require clang-format 9 and reformat source code 2020-01-08 22:18:15 +01:00
CMakeLists.txt CMake: add DOLPHIN_CXX_FLAGS option 2020-02-09 01:03:36 +00:00
dolphin-emu.sln DolphinQt: Support compiling on ARM64 2020-01-12 15:23:42 +10:00