Re: Re: enum_<T>::value

Alexander Nasonov <[email protected]>
Newsgroups gmane.comp.lib.boost.langbinding
Message-ID <[email protected]>
David Abrahams wrote:
> 7. Just use python long for everything.  It's an arbitrary-precision
>    integer.
> 
> There are only two Python integer types: int and long.

In a context of Python or Ruby, this mapping is fine.
However, there are other target languages out there.
Some scripting languages have singed/unsigned types. For example,
CORBAScript's integer types as based on OMG IDL which in turn are
similar to C++ integer types.

Actually, CORBAScript has enums. So, in this particular case, C++ enums
should be mapped to CORBAScript enums.

-- 
Alexander Nasonov



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.