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 » U++ Library support » U++ Core » PolyDeepCopyNew: MSC / GCC differ in behaviour
Re: PolyDeepCopyNew: MSC / GCC differ in behaviour [message #29395 is a reply to message #29363] Mon, 18 October 2010 15:07 Go to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
Quote:



should perhaps be

template<class B, class C, class CB = EmptyClass>
class PolyCopyableC : public B, public PolyDeepCopyNew<PolyCopyableC<C, CB>, CopyableC<C, CB> >



if i choose PolyCopyableC instead of CopyableC, the DeepCopyNew from PolyDeepCopyNew will be instantiated PolyCopyableC, and using my Array<CopyableC....> will try to envoke DeepCopyNew<CopyableC<..> >, which will end up using the templated one, and not the one using the t.Copy() function..

short: i need Array<CopyableC<..> > to use the DeepCopyNew<CopyableC<..> > invoking Copy()
 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PROPOSAL: SerializeStore helper
Next Topic: Value: no deep copy support?
Goto Forum:
  


Current Time: Sun Aug 24 20:22:02 CEST 2025

Total time taken to generate the page: 0.05090 seconds