Micro template library A library for building device drivers
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

78 lines
3.9 KiB

  1. \hypertarget{structutl_1_1id__traits}{}\section{utl\+:\+:id\+\_\+traits$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ Struct Template Reference}
  2. \label{structutl_1_1id__traits}\index{utl\+::id\+\_\+traits$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$@{utl\+::id\+\_\+traits$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$}}
  3. id container traits helper
  4. {\ttfamily \#include $<$id.\+h$>$}
  5. \subsection*{Public Types}
  6. \begin{DoxyCompactItemize}
  7. \item
  8. typedef \+\_\+\+Tp \mbox{\hyperlink{structutl_1_1id__traits_ae8c2dc9bc8ff3284dc89e7760ef601f8}{type}}\mbox{[}\+\_\+\+Nm\mbox{]}
  9. \end{DoxyCompactItemize}
  10. \subsection*{Static Public Member Functions}
  11. \begin{DoxyCompactItemize}
  12. \item
  13. static constexpr \+\_\+\+Tp \& \mbox{\hyperlink{structutl_1_1id__traits_adcca147b5e6dd495ce61272257867a13}{Ref}} (const \mbox{\hyperlink{structutl_1_1id__traits_ae8c2dc9bc8ff3284dc89e7760ef601f8}{type}} \&t, \mbox{\hyperlink{namespaceutl_a22cbecb50ee5c1032de66133e96cbac6}{size\+\_\+t}} n) noexcept
  14. \item
  15. static constexpr \+\_\+\+Tp $\ast$ \mbox{\hyperlink{structutl_1_1id__traits_a570679371037d3f6716f2bb87f9e67d5}{Ptr}} (const \mbox{\hyperlink{structutl_1_1id__traits_ae8c2dc9bc8ff3284dc89e7760ef601f8}{type}} \&t) noexcept
  16. \end{DoxyCompactItemize}
  17. \subsection{Detailed Description}
  18. \subsubsection*{template$<$typename \+\_\+\+Tp, size\+\_\+t \+\_\+\+Nm$>$\newline
  19. struct utl\+::id\+\_\+traits$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$}
  20. id container traits helper
  21. Definition at line 38 of file id.\+h.
  22. \subsection{Member Typedef Documentation}
  23. \mbox{\Hypertarget{structutl_1_1id__traits_ae8c2dc9bc8ff3284dc89e7760ef601f8}\label{structutl_1_1id__traits_ae8c2dc9bc8ff3284dc89e7760ef601f8}}
  24. \index{utl\+::id\+\_\+traits@{utl\+::id\+\_\+traits}!type@{type}}
  25. \index{type@{type}!utl\+::id\+\_\+traits@{utl\+::id\+\_\+traits}}
  26. \subsubsection{\texorpdfstring{type}{type}}
  27. {\footnotesize\ttfamily template$<$typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ \\
  28. typedef \+\_\+\+Tp \mbox{\hyperlink{structutl_1_1id__traits}{utl\+::id\+\_\+traits}}$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$\+::type\mbox{[}\+\_\+\+Nm\mbox{]}}
  29. Definition at line 39 of file id.\+h.
  30. \subsection{Member Function Documentation}
  31. \mbox{\Hypertarget{structutl_1_1id__traits_a570679371037d3f6716f2bb87f9e67d5}\label{structutl_1_1id__traits_a570679371037d3f6716f2bb87f9e67d5}}
  32. \index{utl\+::id\+\_\+traits@{utl\+::id\+\_\+traits}!Ptr@{Ptr}}
  33. \index{Ptr@{Ptr}!utl\+::id\+\_\+traits@{utl\+::id\+\_\+traits}}
  34. \subsubsection{\texorpdfstring{Ptr()}{Ptr()}}
  35. {\footnotesize\ttfamily template$<$typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ \\
  36. static constexpr \+\_\+\+Tp$\ast$ \mbox{\hyperlink{structutl_1_1id__traits}{utl\+::id\+\_\+traits}}$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$\+::Ptr (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{structutl_1_1id__traits_ae8c2dc9bc8ff3284dc89e7760ef601f8}{type}} \&}]{t }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}, {\ttfamily [noexcept]}}
  37. Definition at line 45 of file id.\+h.
  38. \mbox{\Hypertarget{structutl_1_1id__traits_adcca147b5e6dd495ce61272257867a13}\label{structutl_1_1id__traits_adcca147b5e6dd495ce61272257867a13}}
  39. \index{utl\+::id\+\_\+traits@{utl\+::id\+\_\+traits}!Ref@{Ref}}
  40. \index{Ref@{Ref}!utl\+::id\+\_\+traits@{utl\+::id\+\_\+traits}}
  41. \subsubsection{\texorpdfstring{Ref()}{Ref()}}
  42. {\footnotesize\ttfamily template$<$typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ \\
  43. static constexpr \+\_\+\+Tp\& \mbox{\hyperlink{structutl_1_1id__traits}{utl\+::id\+\_\+traits}}$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$\+::Ref (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{structutl_1_1id__traits_ae8c2dc9bc8ff3284dc89e7760ef601f8}{type}} \&}]{t, }\item[{\mbox{\hyperlink{namespaceutl_a22cbecb50ee5c1032de66133e96cbac6}{size\+\_\+t}}}]{n }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}, {\ttfamily [noexcept]}}
  44. Definition at line 41 of file id.\+h.
  45. The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
  46. \item
  47. include/utl/container/\mbox{\hyperlink{id_8h}{id.\+h}}\end{DoxyCompactItemize}