wash added inline comments.

================
Comment at: include/numeric:182
+{
+       _Tp __saved = __init;
+       for (; __first != __last; ++__first, (void) ++__result) {
----------------
If `__first == __last`, this initialization is unnecessary; I'd refactor this 
so that we check for `__first != __last` first.


================
Comment at: include/numeric:208
+{
+       _Tp __saved = __init;
+       for (; __first != __last; ++__first, (void) ++__result) {
----------------
If `__first == __last`, this initialization is unnecessary; I'd refactor this 
so that we check for `__first != __last` first.


https://reviews.llvm.org/D34038



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to