Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | - Paragraph & par = text->getPar(pit); | + Paragraph const & const par = text->getPar(pit); | | (OK, I may have added too many consts, but they do help the compiler | to generate better code, and it makes the intent of the code clearer)
What is the difference between "Foo const & const" and "Foo const &" ?? How is the other more const than the other? (For pointers it makes sense, but does it for references?) -- Lgb