Open Bug 1601336 Opened 5 years ago Updated 2 years ago

Maybe should be a literal type

Categories

(Core :: MFBT, task)

task

Tracking

()

People

(Reporter: sg, Unassigned)

Details

Maybe<T>'s constructors should be constexpr, just like std::optional<T>'s constructors.

I am not sure if we can just move to std::optional given we now have C++17 support?

Summary: Maybe should be constexpr constructible → Maybe should be a literal type
Severity: normal normal → S3 S3
You need to log in before you can comment on or make changes to this bug.