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 » Problem with copy construction of std::vector from Upp::Vector
Re: Problem with copy construction of std::vector from Upp::Vector [message #43821 is a reply to message #43818] Wed, 29 October 2014 09:54 Go to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
I think using iterators is the correct approach:

- we obviously cannot add a new copy contructor to std::vector
- it might be possible to add operator std::vector<T> to Vector, but that would be confusing at best (e.g. because of clone/pick semantics)
- besides, AFAIK vector does not have a copy constructor e.g. from deque or list, so this is the corresponding approach

Mirek
 
Read Message
Read Message
Previous Topic: How to get value from parent AppWindow class?
Next Topic: Any good reason why SSL support is hardcoded to SSLv3 usage?
Goto Forum:
  


Current Time: Mon Aug 25 11:53:00 CEST 2025

Total time taken to generate the page: 0.05817 seconds