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 » Vector (getting error in Vcont.h)
Re: Vector [message #60050 is a reply to message #60049] Sat, 22 July 2023 20:39 Go to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Probably somewhere you copy CsvData. U++ intentionally does not support "deep" copy constructor for container, in code you have to "choose" between pick (that is move in std C++) semantics or clone semantics.

That said, you can use "WithDeepCopy" template to change this behaviour.

WithDeepCopy<Vector<WithDeepCopy<Vector<Value>>> rows;
 
Read Message
Read Message
Previous Topic: Plugin: FT_fontsys broken and by extension so is DroidFonts
Next Topic: AMap::GetPut (k, v)
Goto Forum:
  


Current Time: Mon Aug 25 00:25:50 CEST 2025

Total time taken to generate the page: 0.06713 seconds