File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 15491
15491
using add_pointer_t = typename add_pointer<T>::type;
15492
15492
15493
15493
// \ref{meta.trans.other}, other transformations
15494
+ template<class T> struct type_identity;
15494
15495
template<size_t Len, size_t Align = @\textit{default-alignment}@> // see \ref{meta.trans.other}
15495
15496
struct aligned_storage;
15496
15497
template<size_t Len, class... Types> struct aligned_union;
15502
15503
template<class T> struct underlying_type;
15503
15504
template<class Fn, class... ArgTypes> struct invoke_result;
15504
15505
15506
+ template<class T>
15507
+ using type_identity_t = typename type_identity<T>::type;
15505
15508
template<size_t Len, size_t Align = @\textit{default-alignment}@> // see \ref{meta.trans.other}
15506
15509
using aligned_storage_t = typename aligned_storage<Len, Align>::type;
15507
15510
template<size_t Len, class... Types>
16835
16838
\lhdr{Template} & \rhdr{Comments} \\ \capsep
16836
16839
\endhead
16837
16840
16841
+ \indexlibrary{\idxcode{type_identity}}%
16842
+ \tcode{template<class T>\br
16843
+ struct type_identity;}
16844
+ &
16845
+ The member typedef \tcode{type} names the type \tcode{T}. \\ \rowsep
16846
+
16838
16847
\indexlibrary{\idxcode{aligned_storage}}%
16839
16848
\tcode{template<size_t Len,\br
16840
16849
size_t Align\br
You can’t perform that action at this time.
0 commit comments