Skip to content

Instantly share code, notes, and snippets.

View robpieke's full-sized avatar

Rob Pieké robpieke

View GitHub Profile
@robpieke
robpieke / Range.hpp
Last active September 2, 2017 06:48 — forked from tunabrain/Range.hpp
Python ranges in C++
#ifndef RANGE_HPP_
#define RANGE_HPP_
template<typename T> class RangeIterator;
template<typename T>
class Range
{
T _start, _end, _step;