Return value() in noexcept emplace

This commit is contained in:
johvik
2019-01-23 08:38:31 +01:00
committed by GitHub
parent 47b120fd53
commit c194f73a07

View File

@ -2252,6 +2252,7 @@ public:
*this = nullopt;
this->construct(std::forward<Args>(args)...);
return value();
}
/// Swaps this optional with the other.