Skip to content

Relax reflection constraints#56

Open
mingxwa wants to merge 1 commit into
ngcpp:mainfrom
mingxwa:user/mingxwa/refl-constexpr
Open

Relax reflection constraints#56
mingxwa wants to merge 1 commit into
ngcpp:mainfrom
mingxwa:user/mingxwa/refl-constexpr

Conversation

@mingxwa

@mingxwa mingxwa commented Jun 27, 2026

Copy link
Copy Markdown
Member

Indirect metadata storage, which includes any reflection, does not necessarily be constexpr or nothrow-default-constructible. This change allows reflections happen at runtime. For existing constexpr reflections, this change does not affect their code gen.

Updated tests and spec accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant