Micro template library A library for building device drivers
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

59 lignes
4.0 KiB

  1. \hypertarget{_tmeta_detection_8cpp}{}\section{test/tests/\+Tmeta\+Detection.cpp File Reference}
  2. \label{_tmeta_detection_8cpp}\index{test/tests/\+Tmeta\+Detection.\+cpp@{test/tests/\+Tmeta\+Detection.\+cpp}}
  3. {\ttfamily \#include $<$utl/meta/meta.\+h$>$}\newline
  4. {\ttfamily \#include $<$gtest/gtest.\+h$>$}\newline
  5. {\ttfamily \#include $<$type\+\_\+traits$>$}\newline
  6. \subsection*{Classes}
  7. \begin{DoxyCompactItemize}
  8. \item
  9. struct \mbox{\hyperlink{struct_tmeta_detection_1_1_foo}{Tmeta\+Detection\+::\+Foo}}
  10. \item
  11. struct \mbox{\hyperlink{struct_tmeta_detection_1_1_bar}{Tmeta\+Detection\+::\+Bar}}
  12. \item
  13. struct \mbox{\hyperlink{struct_tmeta_detection_1_1_a}{Tmeta\+Detection\+::\+A$<$ T $>$}}
  14. \item
  15. struct \mbox{\hyperlink{struct_tmeta_detection_1_1m_fun}{Tmeta\+Detection\+::m\+Fun$<$ T1, T2 $>$}}
  16. \end{DoxyCompactItemize}
  17. \subsection*{Namespaces}
  18. \begin{DoxyCompactItemize}
  19. \item
  20. \mbox{\hyperlink{namespace_tmeta_detection}{Tmeta\+Detection}}
  21. \end{DoxyCompactItemize}
  22. \subsection*{Typedefs}
  23. \begin{DoxyCompactItemize}
  24. \item
  25. {\footnotesize template$<$typename T $>$ }\\using \mbox{\hyperlink{namespace_tmeta_detection_a8afedee9c8f0f980114df2970b85b3d6}{Tmeta\+Detection\+::try\+\_\+type}} = typename T\+::type
  26. \item
  27. {\footnotesize template$<$typename T $>$ }\\using \mbox{\hyperlink{namespace_tmeta_detection_a5b1aa9fde2d938f131aa21dfbc31066d}{Tmeta\+Detection\+::try\+\_\+none}} = typename T\+::none
  28. \item
  29. {\footnotesize template$<$typename T $>$ }\\using \mbox{\hyperlink{namespace_tmeta_detection_a51bb4ddb42b30683a5838f8425126955}{Tmeta\+Detection\+::try\+\_\+ctor1}} = decltype(T(std\+::declval$<$ int $>$(), std\+::declval$<$ double $>$()))
  30. \item
  31. {\footnotesize template$<$typename T $>$ }\\using \mbox{\hyperlink{namespace_tmeta_detection_a9fb54f795c97999192547571ba631be7}{Tmeta\+Detection\+::try\+\_\+ctor2}} = decltype(T(std\+::declval$<$ int $>$()))
  32. \item
  33. {\footnotesize template$<$typename T $>$ }\\using \mbox{\hyperlink{namespace_tmeta_detection_a5a316a6cdd1fcf52966fee4f648f5986}{Tmeta\+Detection\+::try\+\_\+ppT}} = decltype(++(std\+::declval$<$ T $>$()))
  34. \item
  35. {\footnotesize template$<$typename T $>$ }\\using \mbox{\hyperlink{namespace_tmeta_detection_a449d376e34edf3b90990510b64998ed6}{Tmeta\+Detection\+::try\+\_\+\+Tpp}} = decltype(std\+::declval$<$ T $>$()++)
  36. \item
  37. {\footnotesize template$<$typename T $>$ }\\using \mbox{\hyperlink{namespace_tmeta_detection_ae8a09443bafe27ded567410f5d028934}{Tmeta\+Detection\+::try\+\_\+sfun}} = decltype(std\+::declval$<$ T $>$().sfun())
  38. \end{DoxyCompactItemize}
  39. \subsection*{Functions}
  40. \begin{DoxyCompactItemize}
  41. \item
  42. \mbox{\hyperlink{namespace_tmeta_detection_aa064e60dc07918977247e299899d361b}{Tmeta\+Detection\+::\+T\+E\+ST}} (Tmeta\+Detection, Void\+Type)
  43. \item
  44. \mbox{\hyperlink{namespace_tmeta_detection_aad05cd282a58a320252a8de7a8ec9ba5}{Tmeta\+Detection\+::\+T\+E\+ST}} (Tmeta\+Detection, Not\+A\+Type)
  45. \item
  46. \mbox{\hyperlink{namespace_tmeta_detection_a022c84980b3a19f2087bf4694ff652a7}{Tmeta\+Detection\+::\+T\+E\+ST}} (Tmeta\+Detection, Is\+Detected)
  47. \item
  48. \mbox{\hyperlink{namespace_tmeta_detection_ae8ced9a0416f4a848bc4de38355d5ee8}{Tmeta\+Detection\+::\+T\+E\+ST}} (Tmeta\+Detection, Toolkit)
  49. \end{DoxyCompactItemize}
  50. \subsection{Detailed Description}
  51. Copyright (C) 2018 Christos Choutouridis
  52. This program is free software\+: you can redistribute it and/or modify it under the terms of the G\+NU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  53. This program is distributed in the hope that it will be useful, but W\+I\+T\+H\+O\+UT A\+NY W\+A\+R\+R\+A\+N\+TY; without even the implied warranty of M\+E\+R\+C\+H\+A\+N\+T\+A\+B\+I\+L\+I\+TY or F\+I\+T\+N\+E\+SS F\+OR A P\+A\+R\+T\+I\+C\+U\+L\+AR P\+U\+R\+P\+O\+SE. See the G\+NU Lesser General Public License for more details.
  54. You should have received a copy of the G\+NU Lesser General Public License along with this program. If not, see \href{http://www.gnu.org/licenses/}{\tt http\+://www.\+gnu.\+org/licenses/}.