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

Home » U++ Library support » U++ Core » BiArray::AddTail/AddHead pick problems
BiArray::AddTail/AddHead pick problems [message #16876] Fri, 18 July 2008 22:03 Go to previous message
kodos is currently offline  kodos
Messages: 111
Registered: March 2008
Experienced Member
Hi,

Is it possibly that the AddTail/AddHead methods of BiArray use pick semantics rather than a deep copy constructor as is written in the documentation?
Here is the source of both methods:

void AddHead(const T& x) { bv.AddHead(new T(x)); }
void AddTail(const T& x) { bv.AddTail(new T(x)); }
[/source]

Currently I get nasty broken pick semantics errors with this Smile
 
Read Message
Read Message
Read Message
Previous Topic: XMLNode error
Next Topic: zlib
Goto Forum:
  


Current Time: Mon May 04 20:10:25 GMT+2 2026

Total time taken to generate the page: 0.00516 seconds