Skip to content

Page 433: Description of bs.flip(i) function of bitset is wrong. #105

Description

@WraithGlade

In the table of operations for std::bitset:

Flips the i-th bit to zero. Performs bounds checking; throws std:: out_of_range.

Should probably instead say either:

Flips the i-th bit. Performs bounds checking; throws std:: out_of_range.

or:

Flips the i-th bit (0 becomes 1; 1 becomes 0). Performs bounds checking; throws std:: out_of_range.

depending on preference.

(As usual, I'm on the Kindle ebook version.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions