Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/TestRegistrations.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-05-24 23:41:02 +0200
committerMartin Hořeňovský2020-05-31 15:08:47 +0200
commit41bbaa6d573a598fe0796fd0e391ed57eae62e30 (patch)
treeb43f9559ac989599f2d38e9237b304d77c7162da /tests/SelfTest/TestRegistrations.cpp
parent66ab942903aaaaf3b6606a8125e55d0d844d7478 (diff)
downloadcatch3-41bbaa6d573a598fe0796fd0e391ed57eae62e30.tar.gz
Implement a simplified variant of std::unique_ptr<T>
This simplified variant supports only a subset of the functionality in `std::unique_ptr<T>`. `Catch::Detail::unique_ptr<T>` only supports single element pointer (no array support) with default deleter. By removing the support for custom deleters, we also avoid requiring significant machinery to support EBO, speeding up instantiations of `unique_ptr<T>` significantly. Catch2 also currently does not need to support `unique_ptr<T[]>`, so that is not supported either.
Diffstat (limited to 'tests/SelfTest/TestRegistrations.cpp')
0 files changed, 0 insertions, 0 deletions