Skip to content

Instantly share code, notes, and snippets.

@JohanMabille
Created January 3, 2020 01:20
Show Gist options
  • Save JohanMabille/994ba8373db39704ed3bb5df671efbfb to your computer and use it in GitHub Desktop.
Save JohanMabille/994ba8373db39704ed3bb5df671efbfb to your computer and use it in GitHub Desktop.
template <class C>
class xstepper
{
public:
using storage_type = C;
using subiterator_type = get_stepper_iterator<C>;
// Same public API as xfunction_stepper
private:
storage_type* p_c;
subiterator_type m_it;
size_type m_offset;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment