Home » U++ Library support » U++ Core » Wrong(?) ASSERT in Vector<>::Insert()
Re: Wrong(?) ASSERT in Vector<>::Insert() [message #27857 is a reply to message #27807] |
Fri, 06 August 2010 20:51   |
 |
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
maybe because the adding of another element could lead to destroying (remember Moveable<>) the underlying vector space, (of which your first element is part of and render your reference to the first element invalid) and you would use an invalid source element reference for making the deep copy.
array flavor shouldnt have this problem i think.
correct me if i'm wrong..
[Updated on: Fri, 06 August 2010 20:55] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue Aug 26 22:15:52 CEST 2025
Total time taken to generate the page: 0.05738 seconds
|