[libcxx-commits] [PATCH] D101396: [libcxx][ranges] Add `contiguous_iterator`.
Zoe Carver via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu May 13 14:34:59 PDT 2021
zoecarver added inline comments.
================
Comment at: libcxx/test/std/containers/sequences/vector.bool/iterator_concept_conformance.compile.pass.cpp:27
+static_assert(!std::contiguous_iterator<iterator>);
+static_assert(!std::contiguous_iterator<reverse_iterator>);
static_assert(!std::indirectly_writable<iterator, value_type>);
----------------
Just want to confirm this is correct: `vector<bool>` is not a contiguous container (while normal vector is).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101396/new/
https://reviews.llvm.org/D101396
More information about the libcxx-commits
mailing list