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 15503
15503
using add_pointer_t = typename add_pointer<T>::type;
15504
15504
15505
15505
// \ref{meta.trans.other}, other transformations
15506
+ template<class T> struct type_identity;
15506
15507
template<size_t Len, size_t Align = @\textit{default-alignment}@> // see \ref{meta.trans.other}
15507
15508
struct aligned_storage;
15508
15509
template<size_t Len, class... Types> struct aligned_union;
15514
15515
template<class T> struct underlying_type;
15515
15516
template<class Fn, class... ArgTypes> struct invoke_result;
15516
15517
15518
+ template<class T>
15519
+ using type_identity_t = typename type_identity<T>::type;
15517
15520
template<size_t Len, size_t Align = @\textit{default-alignment}@> // see \ref{meta.trans.other}
15518
15521
using aligned_storage_t = typename aligned_storage<Len, Align>::type;
15519
15522
template<size_t Len, class... Types>
16847
16850
\lhdr{Template} & \rhdr{Comments} \\ \capsep
16848
16851
\endhead
16849
16852
16853
+ \indexlibrary{\idxcode{type_identity}}%
16854
+ \tcode{template<class T>\br
16855
+ struct type_identity;}
16856
+ &
16857
+ The member typedef \tcode{type} names the type \tcode{T}. \\ \rowsep
16858
+
16850
16859
\indexlibrary{\idxcode{aligned_storage}}%
16851
16860
\tcode{template<size_t Len,\br
16852
16861
size_t Align\br
You can’t perform that action at this time.
0 commit comments