>>>>> "Michael" == Michael Gerz <[EMAIL PROTECTED]> writes:
Michael> Jean-Marc Lasgouttes schrieb: >> http://bugzilla.lyx.org/show_bug.cgi?id=3764 >> >> I do not like this patch very much, actually %-| The name >> AuthorActive is ugly, the class definition in Author.h is weird >> (but better IMO than including <map> everywhere). >> Michael> Jean-Marc, Michael> I think I found a smarter solution that produces less Michael> clutter. Please see the attached patch. What do you think? The constness was the reason why I did not do it like that :) I do not like things like: -AuthorList & BufferParams::authors() +AuthorList & BufferParams::authors() const A const method should return a const object. If you want to go this route, the best may be to declare 'used_' as mutable. JMarc