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

Home » Community » Newbie corner » [Solved]Vector<Vector<int>> problem
Re: Vector<Vector<int>> problem [message #56271 is a reply to message #56250] Mon, 15 February 2021 15:53 Go to previous message
Novo is currently offline  Novo
Messages: 1431
Registered: December 2006
Ultimate Contributor
JeyCi wrote on Sat, 13 February 2021 22:08
Novo wrote on Tue, 18 February 2020 18:43

There are two issues with this code.
In the first case you are making a copy, in second - moving.
Hope this helps.

Novo, thanks for superior explanation! I missed very much this in my class-design - will check thoroughly! Rolling Eyes

No problem. That was quick - less than a year... Smile


Regards,
Novo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Get volume name of shares ...
Next Topic: error: call to implicitly-deleted copy constructor
Goto Forum:
  


Current Time: Mon Jun 01 07:39:48 GMT+2 2026

Total time taken to generate the page: 0.00500 seconds