U++ framework
Do not panic. Ask here before giving up.

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: 1431
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: Mon Jun 01 07:40:59 GMT+2 2026

Total time taken to generate the page: 0.00551 seconds