Hi Christian, On Sat, 27 Nov 2010 19:09:36 +0100, Christian Lohmaier <lohmaier+libreoff...@googlemail.com> wrote: > I'm curious: Why does cppcheck "complain" about "for.... i++" and > suggests/demands pre-increment instead (for ... ++i)? > > Is there any noticable difference? Yes, see: http://www.parashift.com/c++-faq-lite/operator-overloading.html#faq-13.14 http://www.parashift.com/c++-faq-lite/operator-overloading.html#faq-13.15 IIRC Scott Meyers' "More Effective C++" also elaborates on it.
Corollary: we should prefer ++C to C++ to call the language :) Cheers, -- Takeshi Abe _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice