diff options
| author | Martin Hořeňovský | 2020-06-23 18:30:48 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-07-22 21:49:58 +0200 |
| commit | 3b0f8c7ff0df4ee3f713d9a0899d6d670c85cc82 (patch) | |
| tree | 80ed81adea508df0f5f3f5dd52cc9bead83c3132 /examples | |
| parent | 2840ce1e708eb0f3e18ee6fcdd36014beaf7ae10 (diff) | |
| download | catch3-3b0f8c7ff0df4ee3f713d9a0899d6d670c85cc82.tar.gz | |
Replace a TODO comment in examples
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/301-Gen-MapTypeConversion.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/301-Gen-MapTypeConversion.cpp b/examples/301-Gen-MapTypeConversion.cpp index 6d81ce6d..ba55f65f 100644 --- a/examples/301-Gen-MapTypeConversion.cpp +++ b/examples/301-Gen-MapTypeConversion.cpp @@ -1,6 +1,9 @@ // 301-Gen-MapTypeConversion.cpp // Shows how to use map to modify generator's return type. +// Specifically we wrap a std::string returning generator with a generator +// that converts the strings using stoi, so the returned type is actually +// an int. #include <catch2/catch_test_macros.hpp> #include <catch2/generators/catch_generators_adapters.hpp> |