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

David Abrahams dave at boost-consulting.com
Mon Aug 18 22:01:29 CEST 2003


"Mike Rovner" <mike at nospam.com> writes:

> David Abrahams wrote:
>> "Mike Rovner" <mike at nospam.com> writes:
>>
>> Sorry, Mike.  Too much missing detail and too confusing.
>
> Ouh, I appologize for disturbing. The error was mine.
> I was confused with the error message:
>
> Boost.Python.ArgumentError: Python argument types in
>     Scheme.ishintable(Scheme, Layer, int)
> did not match C++ signature:
>     ishintable(class Tcn::DerivationScheme const *, class Tcn::LayerDef
> const *)
>
> I overlooked extra parameter in Python args and tried to fix immaginable bug
> in Scheme pointer.

See what I get for providing readable error messages?  More support
requests! ;->

> Scheme is mentioned twice and that probably confused me.

That's the "self" object, I bet.

> Thanks for replying, it actualy helped me to find my bug by kicking
> in right direction ;)

I'll always be glad to tell you I don't understand ;o)

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list