| 5770 | public: |
| 5771 | template<typename InputIterator, typename InputSentinel> |
| 5772 | IteratorGenerator(InputIterator first, InputSentinel last) |
| 5773 | : m_elems(first, last) |
| 5774 | { |
| 5775 | if (m_elems.empty()) { |
| 5776 | Catch::throw_exception(GeneratorException( |
| 5777 | "IteratorGenerator received no valid values")); |
| 5778 | } |
| 5779 | } |
| 5780 | |
| 5781 | T const &get() const override { return m_elems[m_current]; } |
| 5782 |
nothing calls this directly
no test coverage detected