mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 23:36:11 +01:00
d8a3ffedba
these fixes enhance the support for C++11 nullptr/std::nullptr_t; now you can write something like this: std::exception_ptr ex; CATCH_REQUIRE(ex == nullptr); and std::unique_ptr<int> ptr; CATCH_REQUIRE(ptr.get() == nullptr); The issue with the const_cast<T&> is that you cannot cast a std::nullptr_t to a non-const-ref. |
||
---|---|---|
.. | ||
internal | ||
reporters | ||
catch_runner.hpp | ||
catch_with_main.hpp | ||
catch.hpp |