Home » Community » U++ community news and announcements » By dropping MSC71 support, we can now activate generic pointers templates
Re: By dropping MSC71 support, we can now activate generic pointers templates [message #36364 is a reply to message #36214] |
Tue, 22 May 2012 18:34   |
 |
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
Hi mirek
i ran into a dumb problem since that..
this used to work (Python export of a class, say 'Size')
.def("__str__", &::AsString<Size>)
now, TDMGCC451 still compiles it, MSC9 doesnt.
I could wrap this into an explicit differently named function, but this is a general problem.. how to get a pointer to that function?
casting to an explicit version doesnt work as it seems
.def("__str__", (String (*)(const Size&))&AsString<Size>)
any hint?
[Updated on: Tue, 22 May 2012 18:35] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Jul 18 08:18:30 CEST 2025
Total time taken to generate the page: 0.00632 seconds
|