Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
kohait00 is currently offline  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

 
Read Message
Read Message
Read Message
Previous Topic: Ide: Insert clipboard text as C string, convert text to C string
Next Topic: HttpCookie, improved Cookie support
Goto Forum:
  


Current Time: Fri Jul 18 08:18:30 CEST 2025

Total time taken to generate the page: 0.00632 seconds