[libcxx-commits] [PATCH] D99461: [libcxx] adds `std::indirectly_readable_traits` to <iterator>
Tim Song via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Apr 7 19:19:45 PDT 2021
tcanens added inline comments.
================
Comment at: libcxx/include/iterator:517
+
+// This specialisation is not standard, but is necessary to placate GCC. Neither Clang nor MSVC
+// require it.
----------------
What does "placate GCC" mean in this context? The standard implies that this case (have both, but inconsistent) is a hard error, since we can't decide on the specialization to pick. It's certainly debatable whether it should be though.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99461/new/
https://reviews.llvm.org/D99461
More information about the libcxx-commits
mailing list