Merge pull request #17 from johvik/patch-1

Return value() in noexcept emplace
This commit is contained in:
Simon Brand
2019-01-23 08:45:04 +00:00
committed by GitHub

View File

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