\doxysection{gko::\+default\+\_\+converter\texorpdfstring{$<$}{<} S, R \texorpdfstring{$>$}{>} Struct Template Reference}
\hypertarget{structgko_1_1default__converter}{}\label{structgko_1_1default__converter}\index{gko::default\_converter$<$ S, R $>$@{gko::default\_converter$<$ S, R $>$}}


Used to convert objects of type {\ttfamily S} to objects of type {\ttfamily R} using static\+\_\+cast.  




{\ttfamily \+\#include $<$ginkgo/\+core/\+base/\+math.\+hpp$>$}

\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
R \doxymbox{\hyperlink{structgko_1_1default__converter_aeeb535f41abb975f20857989c8ac2470}{operator()}} (S val)
\begin{DoxyCompactList}\small\item\em Converts the object to result type. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename S, typename R$>$\newline
struct gko::\+default\+\_\+converter$<$ S, R $>$}
Used to convert objects of type {\ttfamily S} to objects of type {\ttfamily R} using static\+\_\+cast. 


\begin{DoxyTemplParams}{Template Parameters}
{\em S} & source type \\
\hline
{\em R} & result type \\
\hline
\end{DoxyTemplParams}


\label{doc-func-members}
\Hypertarget{structgko_1_1default__converter_doc-func-members}
\doxysubsection{Member Function Documentation}
\Hypertarget{structgko_1_1default__converter_aeeb535f41abb975f20857989c8ac2470}\index{gko::default\_converter$<$ S, R $>$@{gko::default\_converter$<$ S, R $>$}!operator()@{operator()}}
\index{operator()@{operator()}!gko::default\_converter$<$ S, R $>$@{gko::default\_converter$<$ S, R $>$}}
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}}
{\footnotesize\ttfamily \label{structgko_1_1default__converter_aeeb535f41abb975f20857989c8ac2470} 
template$<$typename S, typename R$>$ \\
R \doxymbox{\hyperlink{structgko_1_1default__converter}{gko::\+default\+\_\+converter}}$<$ S, R $>$::\+operator() (\begin{DoxyParamCaption}\item[{S}]{val}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Converts the object to result type. 


\begin{DoxyParams}{Parameters}
{\em val} & the object to convert \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the converted object 
\end{DoxyReturn}


The documentation for this struct was generated from the following file:\+\begin{DoxyCompactItemize}
\item 
ginkgo/\+core/\+base/\+math.\+hpp\end{DoxyCompactItemize}
