Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-02-01 14:34:05

Arkadiy Vertleyb <vertleyb <at>> writes:

> I think that one major problem is that you promise next<> and prev<> on
> integrals. It would be quite problematic to satisfy this for enums staying
> in the same enum type.
The same problem exits with any integral type if you use next enough
times. Beside, you can enable checking when the end or beginning
is reached by defining specialziations of:


just as, at present, in largest_int, there are specializations
for integral_rank<T> for each T that is an integral type.

Boost list run by bdawes at, gregod at, cpdaniel at, john at