Skip to content
This repository was archived by the owner on Jun 12, 2023. It is now read-only.

optional<int> has no == operator to compare with int #2

@wlnirvana

Description

@wlnirvana

Should the following two lines be unwrapped with bit_position.value()?

if (bit_position == 7) {

if (this_.bit_position != 7) {

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