Archive for 24. June 2007

Re: PacketBase - copy() returning an auto_ptr
Hi Peter, OK, so I changed PacketBase fist, then went ahead to change the templates. Then I realized that the derived (generated) cannot return auto_ptr <DerivedPacket> because it is not polymorphic (more...)
Re: Design by Contract - my summary
Hi Petr, I think it will be really nice and extremely helpful to have a discussion on the topic. Hopefully others will join too. - we have to comment each pre/post condition (more...)
Design by Contract - my summary
Hi Peter, so I've read some articles (1, 2, 3) about this topic and I think that we have two options (I'll try to summarize it according (more...)
Re: PacketBase - copy() returning an auto_ptr
Hi Petr, but I’ve ran into many troubles - copy() change is needed not only in the base class/xsl templates, but in many other sources (every copy() must returns auto_ptr ) (more...)
PacketBase - copy() returning an auto_ptr
Hi Peter, I was trying to do this \todo as you've suggested: Btw. another \todo could be to make copy() return an auto_ptr. This way passing ownership of the object to (more...)
Re: Protocols/Generics/ review (doxygen)
Hi Peter, I noticed also from your previous code that you write multiline comments are rarely longer than 70 chars in length. I guess that is to allow for words to (more...)
Re: Protocols/Generics/ review
Hi Petr, Just merged your changes back to my branch! I was actually amazed to see that you did read all of the comments! :-) I noticed also from your previous code that (more...)
Re: Protocols/Generics/ review (doxygen)
Hi Petr, I like your template! To generalize, the same "types" of paragraphs are not separated by blank types (e.g. \param comes right after \param), different types are separated with a (more...)