From Jason Turner

[optional.assign.copy.templ]

Diff to HTML by rtfpessoa

tmp/tmpnz313aew/{from.md → to.md} RENAMED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ **Table: `optional::operator=(const optional<U>&)` effects** <a id="optional.assign.copy.templ">[optional.assign.copy.templ]</a>
2
+
3
+ | | `*this` contains a value | `*this` does not contain a value |
4
+ | ------------------------------ | ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- |
5
+ | `rhs` contains a value | assigns `*rhs` to the contained value | initializes the contained value as if direct-non-list-initializing an object of type `T` with `*rhs` |
6
+ | `rhs` does not contain a value | destroys the contained value by calling `val->T::~T()` | no effect |
7
+