mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 22:05:39 +02:00
Add stringification for std::chrono::{duration,time_point}
Also hides std::chrono, std::pair and std::chrono::* behind new configuration macros, CATCH_CONFIG_ENABLE_*_STRINGMAKER to avoid dragging in <utility>, <tuple> and <chrono> in common path, unless requested.
This commit is contained in:
@@ -22,7 +22,9 @@
|
||||
* Removed support for non-const comparison operators
|
||||
* Non-const comparison operators are an abomination that should not exist
|
||||
* They were breaking support for comparing function to function pointer
|
||||
|
||||
* `std::pair` and `std::tuple` are no longer stringified by default
|
||||
* This is done to avoid dragging in `<tuple>` and `<utility>` headers in common path
|
||||
* Their stringification can be enabled per-file via new configuration macros
|
||||
|
||||
## Improvements
|
||||
* Reporters and Listeners can be defined in files different from the main file
|
||||
@@ -53,7 +55,8 @@
|
||||
* Reporters/Listeners are now notified of fatal errors
|
||||
* This means specific signals or structured exceptions
|
||||
* The Reporter/Listener interface provides default, empty, implementation to preserve backward compatibility
|
||||
|
||||
* Stringification of `std::chrono::duration` and `std::chrono::time_point` is now supported
|
||||
* Needs to be enabled by a per-file compile time configuration option
|
||||
|
||||
## Fixes
|
||||
* Don't use console colour if running in XCode
|
||||
|
Reference in New Issue
Block a user