On Thursday 4 December 2008 16:03, Friedrich W. H. Kossebau wrote:
>> enum Foo {
>>     Bar,
>>     Baz,
>>     FooSentinel /*  Keep as last entry, gives number of enum elements */
>> }
>
> So is Bar always assigned to 0 by definition of C++?
Yes.
-- 
David Jarvie.
KAlarm author & maintainer.
http://www.astrojar.org.uk/kalarm