Closed fekir closed 3 years ago
Thanks for your contribution.
I'll tend to CASE( "make_optional: Allows to in-place copy-construct optional from arguments (C++11)" )
that appears similar to the test you did update.
Think all is taken care of now and the PR can be closed now.
thank you @martinmoene
can I ask if there are any plans for a new release?
@fekir A new release seems in order. Will address that in the coming days.
Released optional lite version 3.5.0.
The current implementation required ad least a move-constructor for in-place construction. This made it impossible to directly, create an optional of a type without copy and move operators.
A workaround is using the variadic emplace function, but it requires to construct the object in two steps.
std::optional does not require any copy or move operation for in-place construction