File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 53315331layout-compatible standard-layout class types\iref {class.mem }.
53325332
53335333\pnum
5334- A type is \defn {consteval-only} if it is either
5335- \tcode {std::meta::info} or
5336- a type compounded from a consteval-only type\iref {basic.compound }.
5334+ A type is \defn {consteval-only} if it is
5335+ \begin {itemize }
5336+ \item \tcode {std::meta::info},
5337+ \item \cv {}~\tcode {T}, where \tcode {T} is a consteval-only type,
5338+ \item a pointer or reference to a consteval-only type,
5339+ \item an array of consteval-only type,
5340+ \item a function type having a return type or any parameter type that is consteval-only,
5341+ \item a class type with any non-static data member having consteval-only type, or
5342+ \item a type `` pointer to member of class \tcode {C} of type \tcode {T}'' ,
5343+ where at least one of \tcode {C} or \tcode {T} is a consteval-only type.
5344+ \end {itemize }
53375345Every object of consteval-only type shall be
53385346\begin {itemize }
53395347\item
You can’t perform that action at this time.
0 commit comments