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

summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-06-23 18:30:48 +0200
committerMartin Hořeňovský2020-07-22 21:49:58 +0200
commit3b0f8c7ff0df4ee3f713d9a0899d6d670c85cc82 (patch)
tree80ed81adea508df0f5f3f5dd52cc9bead83c3132 /examples
parent2840ce1e708eb0f3e18ee6fcdd36014beaf7ae10 (diff)
downloadcatch3-3b0f8c7ff0df4ee3f713d9a0899d6d670c85cc82.tar.gz
Replace a TODO comment in examples
Diffstat (limited to 'examples')
-rw-r--r--examples/301-Gen-MapTypeConversion.cpp3
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>