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.
 
 
 
 

54 lignes
3.5 KiB

  1. \hypertarget{_tmeta_basic_8cpp}{}\section{test/tests/\+Tmeta\+Basic.cpp File Reference}
  2. \label{_tmeta_basic_8cpp}\index{test/tests/\+Tmeta\+Basic.\+cpp@{test/tests/\+Tmeta\+Basic.\+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_basic_1_1_identity}{Tmeta\+Basic\+::\+Identity$<$ T $>$}}
  10. \end{DoxyCompactItemize}
  11. \subsection*{Namespaces}
  12. \begin{DoxyCompactItemize}
  13. \item
  14. \mbox{\hyperlink{namespace_tmeta_basic}{Tmeta\+Basic}}
  15. \end{DoxyCompactItemize}
  16. \subsection*{Functions}
  17. \begin{DoxyCompactItemize}
  18. \item
  19. \mbox{\hyperlink{namespace_tmeta_basic_adbcfd80fbcc5a0fa1a132ea56c18e7ec}{Tmeta\+Basic\+::\+T\+E\+ST}} (Tmeta\+Basic, Integreal\+Type)
  20. \item
  21. \mbox{\hyperlink{namespace_tmeta_basic_a9366a9541a3c137f06a56bb0de5dea26}{Tmeta\+Basic\+::\+T\+E\+ST}} (Tmeta\+Basic, Integreal\+Constant)
  22. \item
  23. \mbox{\hyperlink{namespace_tmeta_basic_a76a07a924d058a3e5f60e1b40417348a}{Tmeta\+Basic\+::\+T\+E\+ST}} (Tmeta\+Basic, Basic\+Types)
  24. \item
  25. \mbox{\hyperlink{namespace_tmeta_basic_aa66e8f02bed5fa0b5a84c70f80c29b98}{Tmeta\+Basic\+::\+T\+E\+ST}} (Tmeta\+Basic, Selection)
  26. \item
  27. \mbox{\hyperlink{namespace_tmeta_basic_a8ee52197913571c983d610af12a1a664}{Tmeta\+Basic\+::\+T\+E\+ST}} (Tmeta\+Basic, Logical\+Operations)
  28. \item
  29. \mbox{\hyperlink{namespace_tmeta_basic_aabef072b3cd9e8f59bd696590b1b5dfd}{Tmeta\+Basic\+::\+T\+E\+ST}} (Tmeta\+Basic, Arithmetic\+Operations)
  30. \item
  31. \mbox{\hyperlink{namespace_tmeta_basic_a3ba38c6705e4f363cf52f330afedfdb6}{Tmeta\+Basic\+::\+T\+E\+ST}} (Tmeta\+Basic, Comparison\+Operations)
  32. \item
  33. \mbox{\hyperlink{namespace_tmeta_basic_ae75afce18d82aad495ef6b9f7d5c0470}{Tmeta\+Basic\+::\+T\+E\+ST}} (Tmeta\+Basic, Bit\+Operations)
  34. \item
  35. {\footnotesize template$<$typename T , typename = when$<$same\+\_\+$<$\+T, int$>$\+::type\+::value$>$$>$ }\\int \mbox{\hyperlink{namespace_tmeta_basic_ace6bcbc9c530fa498900e5fbcf6e7f49}{Tmeta\+Basic\+::check1}} (T x)
  36. \item
  37. int \mbox{\hyperlink{namespace_tmeta_basic_a8fd829e39bf3d2429d66205a392a458f}{Tmeta\+Basic\+::check1}} (...)
  38. \item
  39. {\footnotesize template$<$typename T , typename = enable\+\_\+if\+\_\+t$<$same\+\_\+$<$\+T, int$>$\+::type\+::value, void$>$$>$ }\\int \mbox{\hyperlink{namespace_tmeta_basic_a693588cb4aefc8048c1bc4fb414fa5fe}{Tmeta\+Basic\+::check2}} (T x)
  40. \item
  41. int \mbox{\hyperlink{namespace_tmeta_basic_a691f22848ac59a710a5a588e25b79bdf}{Tmeta\+Basic\+::check2}} (...)
  42. \item
  43. \mbox{\hyperlink{namespace_tmeta_basic_a5662c8ed09164d9e4ffbcc3931580eb9}{Tmeta\+Basic\+::\+T\+E\+ST}} (Tmeta\+Basic, Sfinae)
  44. \end{DoxyCompactItemize}
  45. \subsection{Detailed Description}
  46. Copyright (C) 2018 Christos Choutouridis
  47. 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.
  48. 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.
  49. 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/}.