From 4e3e34ac5cb7026342a2583594d3ab203534d545 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Sat, 4 Oct 2025 18:49:55 +0200 Subject: [PATCH] [meta.reflection.define.aggregate] Fix declarations of name-type constructors Fixes NB US 123-187 (C++26 CD). --- source/meta.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/meta.tex b/source/meta.tex index 474ef233ca..cfc827fdc9 100644 --- a/source/meta.tex +++ b/source/meta.tex @@ -6328,14 +6328,14 @@ \pnum The classes \tcode{data_member_options} -and \tcode{data_member_options::\brk{}\exposid{name-type}} +and \tcode{data_member_options::\exposid{name-type}} are consteval-only types\iref{basic.types.general}, and are not structural types\iref{temp.param}. \begin{itemdecl} template requires @\libconcept{constructible_from}@ - consteval data_member_options::@\exposid{name-type}@(T&& value); + consteval @\exposid{name-type}@(T&& value); \end{itemdecl} \begin{itemdescr} @@ -6348,7 +6348,7 @@ \begin{itemdecl} template requires @\libconcept{constructible_from}@ - consteval data_member_options::@\exposid{name-type}@(T&& value); + consteval @\exposid{name-type}@(T&& value); \end{itemdecl} \begin{itemdescr}