File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 1533415334\rSec2[meta.type.synop]{Header \tcode{<type_traits>} synopsis}
1533515335
1533615336\indexhdr{type_traits}%
15337+ \indexlibrary{\idxcode{type_identity_t}}%
1533715338\begin{codeblock}
1533815339namespace std {
1533915340 // \ref{meta.help}, helper class
1550315504 using add_pointer_t = typename add_pointer<T>::type;
1550415505
1550515506 // \ref{meta.trans.other}, other transformations
15507+ template<class T> struct type_identity;
1550615508 template<size_t Len, size_t Align = @\textit{default-alignment}@> // see \ref{meta.trans.other}
1550715509 struct aligned_storage;
1550815510 template<size_t Len, class... Types> struct aligned_union;
1551415516 template<class T> struct underlying_type;
1551515517 template<class Fn, class... ArgTypes> struct invoke_result;
1551615518
15519+ template<class T>
15520+ using type_identity_t = typename type_identity<T>::type;
1551715521 template<size_t Len, size_t Align = @\textit{default-alignment}@> // see \ref{meta.trans.other}
1551815522 using aligned_storage_t = typename aligned_storage<Len, Align>::type;
1551915523 template<size_t Len, class... Types>
1684716851\lhdr{Template} & \rhdr{Comments} \\ \capsep
1684816852\endhead
1684916853
16854+ \indexlibrary{\idxcode{type_identity}}%
16855+ \tcode{template<class T>\br
16856+ struct type_identity;}
16857+ &
16858+ The member typedef \tcode{type} names the type \tcode{T}. \\ \rowsep
16859+
1685016860\indexlibrary{\idxcode{aligned_storage}}%
1685116861\tcode{template<size_t Len,\br
1685216862 size_t Align\br
You can’t perform that action at this time.
0 commit comments