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 » Community » Newbie corner » error: call to implicitly-deleted copy constructor
Re: error: call to implicitly-deleted copy constructor [message #56340 is a reply to message #56339] Tue, 23 February 2021 17:55 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1359
Registered: December 2006
Ultimate Contributor
STL is designed the way that it silently makes copies of objects for you.
U++ is preventing this behavior. You have to explicitly choose to copy/clone or to move/pick your object.
This requires a little bit more coding, but resulting code is more efficient.


Regards,
Novo

[Updated on: Tue, 23 February 2021 17:56]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Solved]Vector<Vector<int>> problem
Next Topic: Compile time hash macro
Goto Forum:
  


Current Time: Wed May 22 03:29:27 CEST 2024

Total time taken to generate the page: 0.02469 seconds