File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 61186118 otherwise, the value of \tcode {expr}.
61196119\end {itemize }
61206120
6121+ \pnum
6122+ Let \tcode {TCls} be the invented template:
6123+ \begin {codeblock }
6124+ template<T P> struct TCls;
6125+ \end {codeblock }
6126+
61216127\pnum
61226128\returns
6123- \tcode {template_arguments_of(\reflexpr {TCls<$ V$ >})[0]},
6124- with \tcode {TCls} as defined below.
6129+ \tcode {template_arguments_of(\reflexpr {TCls<$ V$ >})[0]}.
61256130\begin {note }
61266131This is a reflection of an object for class types,
61276132and a reflection of a value otherwise.
61306135\pnum
61316136\throws
61326137\tcode {meta::exception} unless
6133- the \grammarterm {template-id} \tcode {TCls<$ V$ >} would be valid
6134- given the invented template
6135- \begin {codeblock }
6136- template<T P> struct TCls;
6137- \end {codeblock }
6138+ the \grammarterm {template-id} \tcode {TCls<$ V$ >} would be valid.
61386139
61396140\pnum
61406141\begin {example }
You can’t perform that action at this time.
0 commit comments