Skip to content

Documentation for std::column should state that it counts code points, not bytes or graphemes #92301

Closed
@ecstatic-morse

Description

@ecstatic-morse

std::column counts the number of unicode characters that precede its invocation in that same line (then adds one). However, this behavior is not stated explicitly in its documentation. It's not unusual for programming languages or editors to use byte indexes for columns (vim does this for example), so I think it's worth clarifying.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions