Hi all
I added many tests…. Some of the interesting ones are the self assignment tests. These are supposed not to change the packet semantically … ( *m_p = *m_p ) should keep the reference count same…
I also removed memory leaks by using the const std::auto_ptr idiom given in
http://www.gotw.ca/publications/using_auto_ptr_effectively.htm
I am looking into the last test ( testFromRawData ) as it is getting a null pointer so right now that test is commented…
Let me know what you all think….
—cheerio atul
Attached Files:
mychanges.diff 13K
