Skip to content

Commit 170b0f3

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/expected/expected/error_or.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* cpp23[meta cpp]
77

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

0 commit comments

Comments
 (0)