Files
2025-10-25 03:02:53 +03:00

30 lines
890 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[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 "24Iterators 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)