Evaluating `contiguous_iterator` on an iterator that satisfies all the constraints except the `to_address` constraint and doesn't have `operator->` defined results in a hard error. This is because instantiating `to_address` ends up instantiating templates dependent on the given type which might lead to a hard error even in a SFINAE context. Differential Revision: https://reviews.llvm.org/D130835 |
||
|---|---|---|
| .. | ||
| alg.req.ind.copy | ||
| alg.req.ind.move | ||
| alg.req.ind.swap | ||
| alg.req.mergeable | ||
| alg.req.permutable | ||
| alg.req.sortable | ||
| bidirectional.iterators | ||
| forward.iterators | ||
| indirectcallable | ||
| input.iterators | ||
| iterator.assoc.types | ||
| iterator.concepts | ||
| iterator.cust | ||
| iterator.iterators | ||
| iterator.requirements.general | ||
| output.iterators | ||
| random.access.iterators | ||