Skip to content

Missing optional<T>::operator=(nullopt_t) #94

@jiixyj

Description

@jiixyj

Usually, this isn't noticable as the nullopt will implicitly convert to an optional during assignment. But for immovable types this fails to compile:

    beman::optional26::optional<immovable> o1(beman::optional26::in_place);
    o1 = beman::optional26::nullopt;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions