Boost logo

Boost :

From: Marc VIALA (mviala_at_[hidden])
Date: 2006-01-19 02:55:43

Thanks for your reply and your evolution.

Great job...


Marc Viala

-----Message d'origine-----
De : boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]] De
la part de Frank Laub
Envoyé : mardi 17 janvier 2006 18:52
À : boost_at_[hidden]
Objet : Re: [boost] BOOST_ENUM proposal rev 4, ENUM_VALUES extension?

On 1/15/06, Marc VIALA <mviala_at_[hidden]> wrote:
> Hi,
> May be I've missed some messages of the thread, see message here
> after, but 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
a switch.

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.

Unsubscribe & other changes:

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