We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 082924e commit 170b0f3Copy full SHA for 170b0f3
reference/expected/expected/error_or.md
@@ -6,8 +6,8 @@
6
* cpp23[meta cpp]
7
8
```cpp
9
-template<class G = E> constexpr T error_or(G&& e) const &; // (1)
10
-template<class G = E> constexpr T error_or(G&& e) &&; // (2)
+template<class G = E> constexpr E error_or(G&& e) const &; // (1)
+template<class G = E> constexpr E error_or(G&& e) &&; // (2)
11
```
12
13
## 概要
0 commit comments