Title
Undefined expression in complexity specification
Status
cd1
Section
[deque.cons]
Submitter
Dietmar Kühl

Created on 2000-04-24.00:00:00 last changed 171 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change paragraph 6 from

Linear in first - last.

to become

Linear in distance(first, last).

Date: 2000-04-24.00:00:00

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.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg1966
2000-04-24 00:00:00admincreate