TF++, Miscellaneous classes and modules in C++:

◆ valid()

template<class T = int>
bool tfxx::RangeStepper< T >::valid ( ) const
inline

true if stepper is still in range and can return a current value

Definition at line 128 of file range.h.

Referenced by tfxx::RangeStepper< Tvalue >::next(), and tfxx::RangeListStepper< T >::valid().

128 { return(Mcurrent<=Mrange.last()); }
Tvalue & last()
access end of range
Definition: range.h:65
Tvalue Mcurrent
Definition: range.h:142
Trange Mrange
Definition: range.h:140
Here is the caller graph for this function: