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 61236123 otherwise, the value of \tcode {expr}.
61246124\end {itemize }
61256125
6126+ \pnum
6127+ Let \tcode {TCls} be the invented template:
6128+ \begin {codeblock }
6129+ template<T P> struct TCls;
6130+ \end {codeblock }
6131+
61266132\pnum
61276133\returns
6128- \tcode {template_arguments_of(\reflexpr {TCls<$ V$ >})[0]},
6129- with \tcode {TCls} as defined below.
6134+ \tcode {template_arguments_of(\reflexpr {TCls<$ V$ >})[0]}.
61306135\begin {note }
61316136This is a reflection of an object for class types,
61326137and a reflection of a value otherwise.
61356140\pnum
61366141\throws
61376142\tcode {meta::exception} unless
6138- the \grammarterm {template-id} \tcode {TCls<$ V$ >} would be valid
6139- given the invented template
6140- \begin {codeblock }
6141- template<T P> struct TCls;
6142- \end {codeblock }
6143+ the \grammarterm {template-id} \tcode {TCls<$ V$ >} would be valid.
61436144
61446145\pnum
61456146\begin {example }
You can’t perform that action at this time.
0 commit comments