Micro template library
A library for building device drivers
No puede seleccionar más de 25 temas
Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
|
- \hypertarget{crtp_8h}{}\section{include/utl/core/crtp.h File Reference}
- \label{crtp_8h}\index{include/utl/core/crtp.\+h@{include/utl/core/crtp.\+h}}
- {\ttfamily \#include $<$utl/core/impl.\+h$>$}\newline
- \subsection*{Classes}
- \begin{DoxyCompactItemize}
- \item
- struct \mbox{\hyperlink{structutl_1_1crtp__tag}{utl\+::crtp\+\_\+tag}}
- \begin{DoxyCompactList}\small\item\em C\+R\+TP support tag type. \end{DoxyCompactList}\item
- struct \mbox{\hyperlink{structutl_1_1virtual__tag}{utl\+::virtual\+\_\+tag}}
- \begin{DoxyCompactList}\small\item\em virtual support tag type \end{DoxyCompactList}\end{DoxyCompactItemize}
- \subsection*{Namespaces}
- \begin{DoxyCompactItemize}
- \item
- \mbox{\hyperlink{namespaceutl}{utl}}
- \begin{DoxyCompactList}\small\item\em S\+TL\textquotesingle{}s core language concepts. \end{DoxyCompactList}\end{DoxyCompactItemize}
- \subsection*{Macros}
- \begin{DoxyCompactItemize}
- \item
- \#define \mbox{\hyperlink{crtp_8h_a716d91dbf95e7d113f133e1f3e6da852}{\+\_\+\+C\+R\+T\+P\+\_\+\+I\+M\+PL}}(T)
- \end{DoxyCompactItemize}
-
-
- \subsection{Macro Definition Documentation}
- \mbox{\Hypertarget{crtp_8h_a716d91dbf95e7d113f133e1f3e6da852}\label{crtp_8h_a716d91dbf95e7d113f133e1f3e6da852}}
- \index{crtp.\+h@{crtp.\+h}!\+\_\+\+C\+R\+T\+P\+\_\+\+I\+M\+PL@{\+\_\+\+C\+R\+T\+P\+\_\+\+I\+M\+PL}}
- \index{\+\_\+\+C\+R\+T\+P\+\_\+\+I\+M\+PL@{\+\_\+\+C\+R\+T\+P\+\_\+\+I\+M\+PL}!crtp.\+h@{crtp.\+h}}
- \subsubsection{\texorpdfstring{\+\_\+\+C\+R\+T\+P\+\_\+\+I\+M\+PL}{\_CRTP\_IMPL}}
- {\footnotesize\ttfamily \#define \+\_\+\+C\+R\+T\+P\+\_\+\+I\+M\+PL(\begin{DoxyParamCaption}\item[{}]{T }\end{DoxyParamCaption})}
-
- {\bfseries Value\+:}
- \begin{DoxyCode}
- constexpr T& impl() \{ \textcolor{keywordflow}{return} *\textcolor{keyword}{static\_cast<}T*\textcolor{keyword}{>}(\textcolor{keyword}{this}); \} \(\backslash\)
- constexpr \textcolor{keyword}{const} T& impl()\textcolor{keyword}{ const }\{ \textcolor{keywordflow}{return} *\textcolor{keyword}{static\_cast<}\textcolor{keyword}{const }T*\textcolor{keyword}{>}(\textcolor{keyword}{this}); \}
- \end{DoxyCode}
-
-
- Definition at line 43 of file crtp.\+h.
|