\hypertarget{sfinae_8h}{}\section{include/utl/meta/sfinae.h File Reference}
\label{sfinae_8h}\index{include/utl/meta/sfinae.\+h@{include/utl/meta/sfinae.\+h}}


Template meta-\/programming S\+F\+I\+N\+AE helpers.  


{\ttfamily \#include $<$utl/core/impl.\+h$>$}\newline
{\ttfamily \#include $<$type\+\_\+traits$>$}\newline
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structutl_1_1meta_1_1detail_1_1when__}{utl\+::meta\+::detail\+::when\+\_\+$<$ If $>$}}
\item 
struct \mbox{\hyperlink{structutl_1_1meta_1_1detail_1_1when___3_01true_01_4}{utl\+::meta\+::detail\+::when\+\_\+$<$ true $>$}}
\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}\item 
 \mbox{\hyperlink{namespaceutl_1_1meta}{utl\+::meta}}
\item 
 \mbox{\hyperlink{namespaceutl_1_1meta_1_1detail}{utl\+::meta\+::detail}}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\textbf{ }\par
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$bool If$>$ }\\using \mbox{\hyperlink{namespaceutl_1_1meta_a181d79db46b10170529e85b907ed3dc7}{utl\+::meta\+::when}} = eval$<$ detail\+::when\+\_\+$<$ If $>$ $>$
\begin{DoxyCompactList}\small\item\em Well formed only if {\ttfamily If} is true. \end{DoxyCompactList}\end{DoxyCompactItemize}

\textbf{ }\par
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$bool If, typename \+\_\+\+Tp  = void$>$ }\\using \mbox{\hyperlink{namespaceutl_1_1meta_ab3fed26a4c7a8204accb349f0b6600e8}{utl\+::meta\+::enable\+\_\+if}} = std\+::enable\+\_\+if$<$ If, \+\_\+\+Tp $>$
\begin{DoxyCompactList}\small\item\em enable\+\_\+if, imported from stl \end{DoxyCompactList}\item 
{\footnotesize template$<$bool If, typename \+\_\+\+Tp  = void$>$ }\\using \mbox{\hyperlink{namespaceutl_1_1meta_a372fe391d9567f66a81091f581e1fa01}{utl\+::meta\+::enable\+\_\+if\+\_\+t}} = eval$<$ enable\+\_\+if$<$ If, \+\_\+\+Tp $>$ $>$
\begin{DoxyCompactList}\small\item\em alias template for enable\+\_\+if \end{DoxyCompactList}\end{DoxyCompactItemize}



\subsection{Detailed Description}
Template meta-\/programming S\+F\+I\+N\+AE helpers. 

Copyright (C) 2018-\/2019 Christos Choutouridis

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.

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.

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/}. 