You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if N copies and/or moves are made from an object of type T that contained M elements, then those N objects have O(N+M) destruction
I'm not sure what we want to say exactly instead there. That is vaguely like amortized constant-time, but only if you consider a finite M and an infinite N. Maybe it is best to just have the intro not mention destruction at all?
(I'm assuming that [range.req.general] is considered a non-normative "introduction" so any changes here are editorial. If not, please make this an LWG issue.)
The text was updated successfully, but these errors were encountered:
I think we're overprecise here, resulting in normative duplication which unsurprisingly became out-of-date as the design changed. How about something more generically descriptive like "The view concept specifies requirements for object types that model range and provide operations with predictable complexity."?
[range.req.general]/2 says:
That is no longer true. [range.view]/2.3 says:
I'm not sure what we want to say exactly instead there. That is vaguely like amortized constant-time, but only if you consider a finite M and an infinite N. Maybe it is best to just have the intro not mention destruction at all?
(I'm assuming that [range.req.general] is considered a non-normative "introduction" so any changes here are editorial. If not, please make this an LWG issue.)
The text was updated successfully, but these errors were encountered: