30 lines
890 B
Markdown
30 lines
890 B
Markdown
[diff.cpp17.iterators]
|
||
|
||
# Annex C (informative) Compatibility [[diff]](./#diff)
|
||
|
||
## C.3 C++ and ISO C++ 2017 [[diff.cpp17]](diff.cpp17#iterators)
|
||
|
||
### C.3.12 [[iterators]](iterators "24 Iterators library"): iterators library [diff.cpp17.iterators]
|
||
|
||
[1](#1)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/compatibility.tex#L1400)
|
||
|
||
**Affected subclause:** [[iterator.traits]](iterator.traits)
|
||
|
||
|
||
**Change:** The specialization of iterator_traits for void* and
|
||
for function pointer types no longer contains any nested typedefs[.](#1.sentence-1)
|
||
|
||
|
||
|
||
|
||
**Rationale:** Corrects an issue misidentifying pointer types that are not incrementable
|
||
as iterator types[.](#1.sentence-2)
|
||
|
||
|
||
|
||
|
||
**Effect on original feature:** A valid C++ 2017 program that relies on the presence of the typedefs
|
||
may fail to compile, or have different behavior[.](#1.sentence-3)
|