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.
 
 
 
 

48 lines
4.1 KiB

  1. \hypertarget{array_8h}{}\section{include/utl/container/array.h File Reference}
  2. \label{array_8h}\index{include/utl/container/array.\+h@{include/utl/container/array.\+h}}
  3. {\ttfamily \#include $<$utl/core/impl.\+h$>$}\newline
  4. {\ttfamily \#include $<$algorithm$>$}\newline
  5. \subsection*{Classes}
  6. \begin{DoxyCompactItemize}
  7. \item
  8. struct \mbox{\hyperlink{structutl_1_1array__traits}{utl\+::array\+\_\+traits$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$}}
  9. \begin{DoxyCompactList}\small\item\em array container traits helper \end{DoxyCompactList}\item
  10. struct \mbox{\hyperlink{structutl_1_1array__traits_3_01___tp_00_010_01_4}{utl\+::array\+\_\+traits$<$ \+\_\+\+Tp, 0 $>$}}
  11. \item
  12. struct \mbox{\hyperlink{structutl_1_1array__traits_3_01___tp_00_010_01_4_1_1type}{utl\+::array\+\_\+traits$<$ \+\_\+\+Tp, 0 $>$\+::type}}
  13. \item
  14. struct \mbox{\hyperlink{structutl_1_1array}{utl\+::array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$}}
  15. \begin{DoxyCompactList}\small\item\em A standard container for storing a fixed size sequence of elements. \end{DoxyCompactList}\end{DoxyCompactItemize}
  16. \subsection*{Namespaces}
  17. \begin{DoxyCompactItemize}
  18. \item
  19. \mbox{\hyperlink{namespaceutl}{utl}}
  20. \begin{DoxyCompactList}\small\item\em S\+TL\textquotesingle{}s core language concepts. \end{DoxyCompactList}\end{DoxyCompactItemize}
  21. \subsection*{Functions}
  22. \begin{DoxyCompactItemize}
  23. \item
  24. {\footnotesize template$<$typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ }\\void \mbox{\hyperlink{namespaceutl_ae0f873b4883af7cc18cb23dd2810f4e6}{utl\+::swap}} (array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&lhs, array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&rhs) noexcept(noexcept(lhs.\+swap(rhs)))
  25. \item
  26. {\footnotesize template$<$size\+\_\+t \+\_\+\+Int, typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ }\\constexpr \+\_\+\+Tp \& \mbox{\hyperlink{namespaceutl_a29057d2e164fe6dd3f3095f0d69c6546}{utl\+::get}} (array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&arr) noexcept
  27. \item
  28. {\footnotesize template$<$size\+\_\+t \+\_\+\+Int, typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ }\\constexpr \+\_\+\+Tp \&\& \mbox{\hyperlink{namespaceutl_ab0087ff901c30848b7ac6f5ffa31f5cf}{utl\+::get}} (array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&\&arr) noexcept
  29. \item
  30. {\footnotesize template$<$size\+\_\+t \+\_\+\+Int, typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ }\\constexpr const \+\_\+\+Tp \& \mbox{\hyperlink{namespaceutl_aad376ab583a0db920180465f9f35d67b}{utl\+::get}} (const array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&arr) noexcept
  31. \end{DoxyCompactItemize}
  32. \begin{Indent}\textbf{ Array comparisons.}\par
  33. \begin{DoxyCompactItemize}
  34. \item
  35. {\footnotesize template$<$typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ }\\bool \mbox{\hyperlink{namespaceutl_a841f326020eb98fa4b8f764bf35442c0}{utl\+::operator==}} (const array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&lhs, const array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&rhs)
  36. \item
  37. {\footnotesize template$<$typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ }\\bool \mbox{\hyperlink{namespaceutl_a45cd30dab2ec904b6fd64641d777b35e}{utl\+::operator!=}} (const array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&lhs, const array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&rhs)
  38. \item
  39. {\footnotesize template$<$typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ }\\bool \mbox{\hyperlink{namespaceutl_a633f700b294b53e4f58183fd4bc6963f}{utl\+::operator$<$}} (const array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&lhs, const array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&rhs)
  40. \item
  41. {\footnotesize template$<$typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ }\\bool \mbox{\hyperlink{namespaceutl_a1d5c761bf59037aeed9157e4f63bed9e}{utl\+::operator$>$}} (const array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&lhs, const array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&rhs)
  42. \item
  43. {\footnotesize template$<$typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ }\\bool \mbox{\hyperlink{namespaceutl_a36f9fadffe88aefcc2d37249eaf951c3}{utl\+::operator$<$=}} (const array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&lhs, const array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&rhs)
  44. \item
  45. {\footnotesize template$<$typename \+\_\+\+Tp , size\+\_\+t \+\_\+\+Nm$>$ }\\bool \mbox{\hyperlink{namespaceutl_a942cac675f6dd1313807eccb407ebec6}{utl\+::operator$>$=}} (const array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&lhs, const array$<$ \+\_\+\+Tp, \+\_\+\+Nm $>$ \&rhs)
  46. \end{DoxyCompactItemize}
  47. \end{Indent}