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.
 
 
 
 

47 lines
2.0 KiB

  1. \hypertarget{structutl_1_1meta_1_1wrap}{}\section{utl\+:\+:meta\+:\+:wrap$<$ F $>$ Struct Template Reference}
  2. \label{structutl_1_1meta_1_1wrap}\index{utl\+::meta\+::wrap$<$ F $>$@{utl\+::meta\+::wrap$<$ F $>$}}
  3. {\ttfamily \#include $<$invoke.\+h$>$}
  4. \subsection*{Public Types}
  5. \begin{DoxyCompactItemize}
  6. \item
  7. {\footnotesize template$<$typename... Args$>$ }\\using \mbox{\hyperlink{structutl_1_1meta_1_1wrap_a71fe22d6a841f27b891ca3344ee97b07}{apply}} = F$<$ Args... $>$
  8. \end{DoxyCompactItemize}
  9. \subsection{Detailed Description}
  10. \subsubsection*{template$<$template$<$ typename... $>$ class F$>$\newline
  11. struct utl\+::meta\+::wrap$<$ F $>$}
  12. wrap
  13. wrap is a higher-\/order primitive that wraps an n-\/ary Metafunction to create a corresponding Metafunction Class (Invocable). This way we can pass Metafunctions as types to other metafunctions and let them {\ttfamily invoke} the inner templated apply
  14. Definition at line 100 of file invoke.\+h.
  15. \subsection{Member Typedef Documentation}
  16. \mbox{\Hypertarget{structutl_1_1meta_1_1wrap_a71fe22d6a841f27b891ca3344ee97b07}\label{structutl_1_1meta_1_1wrap_a71fe22d6a841f27b891ca3344ee97b07}}
  17. \index{utl\+::meta\+::wrap@{utl\+::meta\+::wrap}!apply@{apply}}
  18. \index{apply@{apply}!utl\+::meta\+::wrap@{utl\+::meta\+::wrap}}
  19. \subsubsection{\texorpdfstring{apply}{apply}}
  20. {\footnotesize\ttfamily template$<$template$<$ typename... $>$ class F$>$ \\
  21. template$<$typename... Args$>$ \\
  22. using \mbox{\hyperlink{structutl_1_1meta_1_1wrap}{utl\+::meta\+::wrap}}$<$ F $>$\+::\mbox{\hyperlink{structutl_1_1meta_1_1wrap_a71fe22d6a841f27b891ca3344ee97b07}{apply}} = F$<$Args...$>$}
  23. \begin{Desc}
  24. \item[Examples\+: ]\par
  25. \mbox{\hyperlink{_w_1_2_work_2_software_2_libraries_2utl_2include_2utl_2meta_2invoke_8h-example}{W\+:/\+Work/\+Software/\+Libraries/utl/include/utl/meta/invoke.\+h}}.\end{Desc}
  26. Definition at line 102 of file invoke.\+h.
  27. The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
  28. \item
  29. include/utl/meta/\mbox{\hyperlink{meta_2invoke_8h}{invoke.\+h}}\end{DoxyCompactItemize}