From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-02-10 19:03:47
On 02/10/2005 04:38 PM, Larry Evans wrote:
> On 02/01/2005 07:28 AM, Arkadiy Vertleyb wrote:
>> 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
>> in the same enum type.
> In the sandbox vault, there's range_all.zip which, IFAICT, solves this
> problem by having a separate class, range_c_max, for including the
> max value in the enumeration. Also next<> and prev<> have been
> specialized as well as integral_rank. In addition, files in aux_/
> preprocessed/gcc had to be modified by supplying an explicit
> cast from an integral to the enumeration.
OOPS. Sorry, wrong subject.
Actually, only the change to the preprocessed/gcc files is relevant to
this subject and maybe the next<> and prev<> specializations.
The subject I had in mind was creating a range_c for enumerations which
was a subject I'd emailed Aleksey about.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk