/* * Nigel Galloway, July 19th., 2017 - Yes well is this any better? */ class N{ uint n,i,g,e,l; public: N(uint n): n(n-1),i{},g{},e(1),l(n-1){} bool hasNext(){ g=(1<0); } uint next() {return g;} };