Skip to content

P3666 Typo in example #155

@eisenwave

Description

@eisenwave
constexpr unsigned mask = 0xf;
T integer = /* ... */;
x &= mask; // equivalent to x = x & mask;

This is a typo; integer should be x.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bad-editorialBad paper numbers, typos in discussion, and other editorial mistakes

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions