Return value() in noexcept emplace

This commit is contained in:
johvik authored and GitHub committed 2019-01-23 08:38:31 +01:00
1 parent 47b120fd53
commit c194f73a07
1 file changed
+1
+1
View File
@@ -2252,6 +2252,7 @@ public:
*this = nullopt;
this->construct(std::forward<Args>(args)...);
return value();
}
/// Swaps this optional with the other.