This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.
Section: 220.127.116.11 [deque.cons] Status: CD1 Submitter: Dietmar Kühl Opened: 2000-04-24 Last modified: 2017-02-03
Priority: Not Prioritized
View all other issues in [deque.cons].
View all issues with CD1 status.
The complexity specification in paragraph 6 says that the complexity is linear in first - last. Even if operator-() is defined on iterators this term is in general undefined because it would have to be last - first.
Change paragraph 6 from
Linear in first - last.
Linear in distance(first, last).