[C++-sig] Re: arg type equivivalence (constness)

Mike Rovner mike at nospam.com
Mon Aug 25 18:54:08 CEST 2003


David Abrahams wrote:
> "Mike Rovner" <mike at nospam.com> writes:
>
>> What do you think about reporting object instances as "Name()"
>>  (i.e. Scheme.ishintable(Scheme(), Layer(), int) in previous example)
>>
>> I can do that. ;) (add PyInstance_Check to reporting routine)
>
> Why would that be an improvement?  Scheme() might not even be a valid
> call (its __init__ may require more parameters).

I was looking for easy way for distigush two Scheme's.
Can't come up with better solution. :(

Mike







More information about the Cplusplus-sig mailing list