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

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 Go to previous messageGo to previous message
kohait00 is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: better Stream manual....more info needed
Next Topic: NEW: BufferStream
Goto Forum:
  


Current Time: Tue Jun 23 09:29:39 GMT+2 2026

Total time taken to generate the page: 0.00802 seconds