Home » U++ Library support » U++ Core » Index<Vector<T>>
Index<Vector<T>> [message #51959] |
Wed, 26 June 2019 22:01  |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
Index<Vector<T>> cannot be compiled with the latest source code.
Is this a bug or is it supposed to be this way now?
It was a useful feature ...
Regards,
Novo
|
|
|
|
Re: Index<Vector<T>> [message #51965 is a reply to message #51961] |
Thu, 27 June 2019 16:24  |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Thu, 27 June 2019 02:23
Can you post example that does not work for you?
Mirek
Actually, it turned out, everything works. Semantics of several methods was changed after SVN@13354 (git: 40cd0fd5ec26).
In previous implementation of Index it was possible to write x.Add(y);, and Index was implicitly cloning Vector.
Now you have to do that explicitly.
Some of the old code got broken because of that.
New implementation has correct semantics.
Sorry for the false alarm.
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:44:29 CEST 2025
Total time taken to generate the page: 0.01744 seconds
|