|
Re: overloaded template functions: msg#00087programming.swig
Hi there, Let me make the question more clear. I have two overloaded template functions like these: template <class T> int foo(const T); template <class T> int foo(const T, const bool); I am using 1.3.17, which shall handle the overloaded functions. I do not ignore either one, nor do I rename them. Since they are template functions, I must instantiate both of them. I have these lines in the .i file, which instantiate the first one: %template(fooDBL) foo<double>; %template(fooINT) foo<int>; How could I instantiate the second one? Thanks for help. Zhong _____________________________________________________________ Get email for your site ---> http://www.everyone.net _____________________________________________________________ Select your own custom email address for FREE! Get you@xxxxxxxxxxxxxx w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | overloaded template functions: 00087, Zhong Ren |
|---|---|
| Next by Date: | Re: overloaded template functions: 00087, David Beazley |
| Previous by Thread: | overloaded template functionsi: 00087, Zhong Ren |
| Next by Thread: | Re: overloaded template functions: 00087, David Beazley |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |