catch2/examples
Martin Hořeňovský 1d1ccf8f3c
Replace all uses of std::unique_ptr with Catch::Detail::unique_ptr
Doing some benchmarking with ClangBuildAnalyzer suggests that
compiling Catch2's `SelfTest` spends 10% of the time instantiating
`std::unique_ptr` for some interface types required for registering
and running tests.

The lesser compilation overhead of `Catch::Detail::unique_ptr` should
significantly reduce that time.

The compiled implementation was also changed to use the custom impl,
to avoid having to convert between using `std::unique_ptr` and
`Catch::Detail::unique_ptr`. This will likely also improve the compile
times of the implementation, but that is less important than improving
compilation times of the user's TUs with tests.
2020-05-31 15:20:24 +02:00
..
000-CatchMain.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
010-TestCase.cpp Remove catch_default_main.hpp 2020-05-09 18:00:49 +02:00
020-TestCase-1.cpp Remove catch_default_main.hpp 2020-05-09 18:00:49 +02:00
020-TestCase-2.cpp Remove catch.hpp 2020-03-29 21:32:13 +02:00
030-Asn-Require-Check.cpp Remove catch.hpp 2020-03-29 21:32:13 +02:00
100-Fix-Section.cpp Convert examples to piecemeal includes 2020-01-21 14:46:07 +01:00
110-Fix-ClassFixture.cpp Convert examples to piecemeal includes 2020-01-21 14:46:07 +01:00
120-Bdd-ScenarioGivenWhenThen.cpp Remove catch.hpp 2020-03-29 21:32:13 +02:00
210-Evt-EventListeners.cpp Fix warnings in ExtraTests and Examples 2020-02-26 16:07:54 +01:00
231-Cfg-OutputStreams.cpp Remove catch_default_main.hpp 2020-05-09 18:00:49 +02:00
300-Gen-OwnGenerator.cpp Replace all uses of std::unique_ptr with Catch::Detail::unique_ptr 2020-05-31 15:20:24 +02:00
301-Gen-MapTypeConversion.cpp Replace all uses of std::unique_ptr with Catch::Detail::unique_ptr 2020-05-31 15:20:24 +02:00
310-Gen-VariablesInGenerators.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
311-Gen-CustomCapture.cpp Standardize header names and file locations 2020-04-24 18:58:44 +02:00
CMakeLists.txt Rename CMake/pkg-config target Catch2Main to Catch2WithMain 2020-05-03 18:54:38 +02:00