Skip to content

[hive.capacity], [vector.capacity] Function effects incorrectly specified in Complexity #8263

@eisenwave

Description

@eisenwave

draft/source/containers.tex

Lines 8470 to 8473 in 0201407

\pnum
\complexity
It does not change the size of the sequence and
takes at most linear time in the number of reserved blocks allocated.

This is a bizarre bit of markup. Whether reserve() alters the size of the container clearly doesn't belong in a Complexity specification. The first part of the sentence should be moved down into Remarks or something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions