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 » Developing U++ » U++ Developers corner » Template class factory
Re: Template class factory [message #24389 is a reply to message #24388] Wed, 13 January 2010 15:15 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
And if I do

String const &IsA(void) { T * p = (T *)this; Cerr() << "\n" << typeid(*p).name() << "\n"; return myType; }


It always output '4Base' even if the class is the derived one.
Compiler bug ?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Helper for internazionalize arrays of literals
Next Topic: Polymorphic XMLizer
Goto Forum:
  


Current Time: Fri May 10 20:28:59 CEST 2024

Total time taken to generate the page: 0.02968 seconds