Differential D100278 Diff 342544 libcxx/test/std/re/re.iter/re.regiter/iterator_concept_conformance.compile.pass.cpp
Changeset View
Changeset View
Standalone View
Standalone View
libcxx/test/std/re/re.iter/re.regiter/iterator_concept_conformance.compile.pass.cpp
- This file was copied to libcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.bidir/subsumption.compile.pass.cpp.
Show All 11 Lines | |||||
// regex_iterator | // regex_iterator | ||||
#include <regex> | #include <regex> | ||||
#include <iterator> | #include <iterator> | ||||
static_assert(std::forward_iterator<std::cregex_iterator>); | static_assert(std::forward_iterator<std::cregex_iterator>); | ||||
static_assert(!std::bidirectional_iterator<std::cregex_iterator>); | |||||
static_assert(!std::indirectly_writable<std::cregex_iterator, char>); | static_assert(!std::indirectly_writable<std::cregex_iterator, char>); | ||||
static_assert(std::sentinel_for<std::cregex_iterator, std::cregex_iterator>); | static_assert(std::sentinel_for<std::cregex_iterator, std::cregex_iterator>); | ||||
static_assert(!std::sized_sentinel_for<std::cregex_iterator, std::cregex_iterator>); | static_assert(!std::sized_sentinel_for<std::cregex_iterator, std::cregex_iterator>); |