Skip to content

Commit dbaaaf2

Browse files
reflection : 不足していた閉じカッコを修正
Co-authored-by: Raclamusi <61970673+Raclamusi@users.noreply.github.com>
1 parent 906823b commit dbaaaf2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lang/cpp26/reflection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ template <typename E>
3333
requires std::is_enum_v<E>
3434
constexpr std::string_view to_string(E value) {
3535
// 型Eから列挙子のリストを取得
36-
template for (constexpr auto e : std::define_static_array(std::meta::enumerators_of(^^E)) {
36+
template for (constexpr auto e : std::define_static_array(std::meta::enumerators_of(^^E))) {
3737
if (value == [:e:]) {
3838
return std::meta::identifier_of(e); // 列挙子の名前を文字列として取得
3939
}

0 commit comments

Comments
 (0)