Skip to content

Commit 082924e

Browse files
authored
expected::error_or() の戻り値型を T から E に修正
1 parent 76cc74b commit 082924e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/expected/expected.void/error_or.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
```cpp
99
// 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)
10+
template<class G = E> constexpr E error_or(G&& e) const &; // (1)
11+
template<class G = E> constexpr E error_or(G&& e) &&; // (2)
1212
```
1313
1414
## 概要

0 commit comments

Comments
 (0)