From Jason Turner

[expected.un.eq]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpbedmwpkx/{from.md → to.md} +12 -0
tmp/tmpbedmwpkx/{from.md → to.md} RENAMED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Equality operator <a id="expected.un.eq">[[expected.un.eq]]</a>
2
+
3
+ ``` cpp
4
+ template<class E2>
5
+ friend constexpr bool operator==(const unexpected& x, const unexpected<E2>& y);
6
+ ```
7
+
8
+ *Mandates:* The expression `x.error() == y.error()` is well-formed and
9
+ its result is convertible to `bool`.
10
+
11
+ *Returns:* `x.error() == y.error()`.
12
+