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

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/ToStringTuple.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2017-10-09 12:31:22 +0200
committerMartin Hořeňovský2017-10-09 13:03:29 +0200
commit79b405fd3f752bd61a077d03798001c4e9d711b1 (patch)
treec5a2dfbb8d70ce716d7922552c3348b4973d26e2 /projects/SelfTest/ToStringTuple.cpp
parentf9727327370abbee50f99d3fcd26f0b114a21887 (diff)
downloadcatch3-79b405fd3f752bd61a077d03798001c4e9d711b1.tar.gz
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.
Diffstat (limited to 'projects/SelfTest/ToStringTuple.cpp')
-rw-r--r--projects/SelfTest/ToStringTuple.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/projects/SelfTest/ToStringTuple.cpp b/projects/SelfTest/ToStringTuple.cpp
index 330e427e..fe19ce01 100644
--- a/projects/SelfTest/ToStringTuple.cpp
+++ b/projects/SelfTest/ToStringTuple.cpp
@@ -1,3 +1,4 @@
+#define CATCH_CONFIG_ENABLE_TUPLE_STRINGMAKER
#include "catch.hpp"
#include <tuple>