From: Frank Laub (frank.laub_at_[hidden])
Date: 2006-01-17 12:51:52
On 1/15/06, Marc VIALA <mviala_at_[hidden]> wrote:
> May be I've missed some messages of the thread, see message here after,
> is there any method that would return the index of the enumeration element
> when using BOOST_ENUM_VALUES.
It was discussed and I agreed to add a method like this but I didn't around
to it until recently. The new method is called index(). With it you can do
I'm using BOOST_ENUM rev 4.5
I just uploaded a new version 4.6 to the vault.
Thanks in advance.
> You're welcome and thanks for your input.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk