|
Boost : |
From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2003-02-05 07:53:16
On Tue, 4 Feb 2003 07:25:52 -0500, "Dave Abrahams"
<dave_at_[hidden]> wrote:
>In that case it would seem likely that it could be fixed by reverting to
>C-style cast, no?
I've seen in the CVS that the casts are to support enums. But the
documentation for integral_c says
An Integral Constant is a class (or a template class)
that represents a value of a built-in integral type
Enumerations are not integral types. Also, the presence of next and
prior exposes the use with enumerators to undefined behavior. Do we
really want that?
Genny.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk