This project is read-only.
1
Vote

Range iterators

description

Create (linq-ish) classes to represent range operations. E.g.,
class by_minute {
    range& r;
    by_minute& operator++() {
        time_t m = r[0] % 3600;
        do {
            ++r;
        } while (m < r[0] % 3600);

        return *this;
    }
};

comments