Skip to content

Make as much of the interface as posible constexpr #132

@akrzemi1

Description

@akrzemi1

Make as many functions as possible in the interface of optional constexpr. It is not possible to be as constexpr as std::opitonal, because the latter is C++17, where constexpr is mor powerful, whereas boost::optional needs to be C++11-compatible.

This requires changing the implementation of optional storage to a union-based.

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