Skip to content

[strings] Use "Equivalent to" where appropriate #165

Closed
@sdutoit

Description

@sdutoit

From an email by Jeffrey Yasskin:

Many functions in the strings clause use formulations like:

[string.cons]/15:

Effects: Same as basic_string(il.begin(), il.end(), a).

[string.capacity]/15:

Effects: Behaves as if the function calls:
erase(begin(), end());

[string::insert]/27:

Effects: insert(p, il.begin(), il.end()).
Returns: [what the above insert() call returns]

instead of the "Equivalent to" wording defined in
[structure.specifications]/4. These should all be changed to
"Equivalent to" for consistency and conciseness.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lwgIssue must be reviewed by LWG.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions