martinmoene/optional-lite

`emplace` should return the value emplaced

improbable-nickkrempel opened this issue · 2 comments

Currently it returns void instead of a reference to the emplaced value.

See https://en.cppreference.com/w/cpp/utility/optional/emplace.

Thanks. This appears to be a fault in the Readme.

Ah yes, the code was already fixed in 465a8bd. Thanks!