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 » Derivating from Vector<>
Re: Deriving from Vector<> [message #8344 is a reply to message #8343] Sat, 03 March 2007 20:37 Go to previous messageGo to previous message
victorb is currently offline  victorb
Messages: 78
Registered: December 2005
Location: Nice, France
Member
I have found something working

	IntVector(const IntVector &src, int) {	
		::new IntVector;	
		for (int i = 0; i < src.GetCount(); i++)
			At(i) = src[i];		
		name = src.name;
		Cout() << "DCC\n";				
	}


I would need to add some check in order to make sure that src is not picked...
But really there should be a nicer solution.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: something abaut brc file
Next Topic: XML Error
Goto Forum:
  


Current Time: Thu Jul 31 04:11:32 CEST 2025

Total time taken to generate the page: 0.04909 seconds