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 76cc74b commit 082924eCopy full SHA for 082924e
reference/expected/expected.void/error_or.md
@@ -7,8 +7,8 @@
7
8
```cpp
9
// expected<cv void, E>部分特殊化
10
-template<class G = E> constexpr T error_or(G&& e) const &; // (1)
11
-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)
12
```
13
14
## 概要
0 commit comments