enumeration declaration

"Roman Yakovenko" <[email protected]> Mon, 7 May 2007 23:42:54 +0300
Newsgroups gmane.comp.documentation.synopsis
Message-ID <[email protected]>
Hi. May be I am doing something wrong, but for some reason the
enumeration declaration doesn't report the actual value.

Another issue I have with it is that the value is string, may I ask to
add value_xxx functionality, which will return a numeric value of the
enumerator.
Rational: Boost.Python does not support enums with duplicate values (
http://boost.org/libs/python/todo.html#support-for-enums-with-duplicate-values
)
Py++ warns the user about this situation and provide possible work around
( http://language-binding.net/pyplusplus/documentation/apidocs/pyplusplus.messages.warnings_-module.html#W1032
)

Thanks

-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/