[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] Special-case handling for default argument of NULL vs 0?
From: Nigel Stewart <ns () fluent ! com>
Date: 2006-02-21 23:34:45
Message-ID: 43FBA395.7060708 () fluent ! com
[Download RAW message or body]
>> We're observing some issues with methods such as:
>>
>> (a) void foo(const QString * = NULL);
>> (b) void bar(const QString * = 0);
>> So, the lesson seems to be that "= 0" is good, "= NULL" is
>> to be avoided, when it comes to sip bindings.
>
> And when it comes to C++ according to Stroustrup.
> No problem with adding this.
Thanks Phil, one less little gotcha to worry about
in future... :-)
Nigel
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic