Nicholas Clark <[EMAIL PROTECTED]> wrote:
> 
> 2 things the above reminds me to watch out for
> 
>        int32         toInt32()
> 
> don't assume anything about integer sizes (or any machine native type sizes
> or precisions, or that floating point can (or can't) preserve integers)
> 
>       UnicodeString toString()  # returns the scalar value as Unicode string
>       ASCIIString   toString()  # returns the scalar value as an ASCII string
> 
> C++ implementors will have fun with names that assume one can overload on
> return type.

Sorry.  I didn't mean those should be methods Scalars have!   I was just
trying to show the kind of documentation I'd like to see.  I wasn't trying
to produce said documentation.  :)

-- 
Bradley M. Kuhn  -  http://www.ebb.org/bkuhn

PGP signature

Reply via email to