>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> It breaks the "I allocate, I deallocate" idom.

Lars> I'd rather see a Menu & passed in that case. That is the clean
Lars> way of avoiding a copy.

That's what I did, but I wondered whether it was a good idea. Another
(cleaner?) solution is maybe to provide an iterator instead of
building these useless vectors (for example for the list of
references or maybe even the TOC).

JMarc

Reply via email to