diff options
| author | Martin Hořeňovský | 2026-02-15 20:44:17 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2026-02-15 20:44:21 +0100 |
| commit | 056e4fe88d5a779fef221a0d5f105d7a16be9c7a (patch) | |
| tree | 9c1157871d2dee88fe8eb7362c9924cd42711324 /src/Progmasoft/Catch3/TranslateException.cpp | |
| parent | 3a0cf7e75fdc571ff9ed25303fb268665f6260c0 (diff) | |
| download | catch3-056e4fe88d5a779fef221a0d5f105d7a16be9c7a.tar.gz | |
MapGenerator only calls mapping function if the result is used
Previously the mapping was eager on construction and calls to
`next()`. This was fine when generators were always exhausted fully,
but with the new generator filtering, we might not want to call
the map function eagerly; rather we want to call it only once,
after the generator is moved to the target element.
Diffstat (limited to 'src/Progmasoft/Catch3/TranslateException.cpp')
0 files changed, 0 insertions, 0 deletions