« Return to Thread: Accepting None as a valid input for the constructor of a C++ class.

Re: Accepting None as a valid input for the constructor of a C++ class.

by Bo Peng-2 :: Rate this Message:

Reply to Author | View in Thread

> Indeed and the typemaps showing the difference with the extra check (for
> !argp) are in swigtype.swg and the preprocessed versions are shown below:

But do you agree that None/Null should be passed to the constructor of
a class for which implicitconv is defined? Please refer to my previous
email for an example.

Thanks.
Bo

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user

 « Return to Thread: Accepting None as a valid input for the constructor of a C++ class.