
Thanks for your reply and your evolution. Great job... A+ Marc Viala mailto:mviala@acticm.com -----Message d'origine----- De : boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] De la part de Frank Laub Envoyé : mardi 17 janvier 2006 18:52 À : boost@lists.boost.org Objet : Re: [boost] BOOST_ENUM proposal rev 4, ENUM_VALUES extension? On 1/15/06, Marc VIALA <mviala@acticm.com> 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.
-Frank _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost