Micro template library A library for building device drivers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

78 line
4.1 KiB

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