Open jwakely opened 3 months ago
And all emplace
overloads, and swap
, and reset
.
There don't seem to be any tests using optional
in constant expressions, except for a handful for and_then
(but not the other monadic ops, see #42).
The non-reference side is undertested.
https://github.com/beman-project/Optional26/blob/bfeb9080c0d9c501965ae857a1decf7ed74686f5/include/Beman/Optional26/optional.hpp#L332-L338