Skip to content

Commit ff9af99

Browse files
committed
reflect_constant : パラメータ型のconst参照が外れた仕様修正に対応
1 parent 24d7b17 commit ff9af99

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

reference/meta/reflect_constant.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
```cpp
88
namespace std::meta {
99
template <class T>
10-
consteval info reflect_constant(const T& value);
10+
consteval info reflect_constant(T value);
1111
}
1212
```
1313
* info[link info.md]
@@ -58,3 +58,4 @@ int main() {
5858

5959
## 参照
6060
- [P2996R13 Reflection for C++26](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p2996r13.html)
61+
- [Mismatch in reflect_constant declaration · Issue #8244 · cplusplus/draft](https://github.com/cplusplus/draft/issues/8244)

0 commit comments

Comments
 (0)