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


Template meta-\/programming type selections.  


{\ttfamily \#include $<$utl/core/impl.\+h$>$}\newline
{\ttfamily \#include $<$utl/meta/integral.\+h$>$}\newline
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structutl_1_1meta_1_1detail_1_1if__c__}{utl\+::meta\+::detail\+::if\+\_\+c\+\_\+$<$ If,... $>$}}
\item 
struct \mbox{\hyperlink{structutl_1_1meta_1_1detail_1_1if__c___3_01true_00_01_then_01_4}{utl\+::meta\+::detail\+::if\+\_\+c\+\_\+$<$ true, Then $>$}}
\item 
struct \mbox{\hyperlink{structutl_1_1meta_1_1detail_1_1if__c___3_01true_00_01_then_00_01_else_01_4}{utl\+::meta\+::detail\+::if\+\_\+c\+\_\+$<$ true, Then, Else $>$}}
\item 
struct \mbox{\hyperlink{structutl_1_1meta_1_1detail_1_1if__c___3_01false_00_01_then_00_01_else_01_4}{utl\+::meta\+::detail\+::if\+\_\+c\+\_\+$<$ false, Then, Else $>$}}
\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 B, typename... Args$>$ }\\using \mbox{\hyperlink{group__type_gaa3812817ce749832da73fdf5d2a85380}{utl\+::meta\+::if\+\_\+c}} = eval$<$ detail\+::if\+\_\+c\+\_\+$<$ B, Args... $>$ $>$
\begin{DoxyCompactList}\small\item\em Select one type or another depending on a compile-\/time Boolean. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename If , typename... Args$>$ }\\using \mbox{\hyperlink{group__type_ga39cc4e727a8faa5ea176f543e62c05c0}{utl\+::meta\+::if\+\_\+}} = if\+\_\+c$<$ If\+::type\+::value, Args... $>$
\begin{DoxyCompactList}\small\item\em Select one type or another depending on a compile-\/time Boolean type. \end{DoxyCompactList}\end{DoxyCompactItemize}

\textbf{ }\par
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename T1 , typename ... $>$ }\\using \mbox{\hyperlink{group__type_gaf7089523d21cd405c76985643f31092a}{utl\+::meta\+::first\+\_\+of}} = T1
\begin{DoxyCompactList}\small\item\em Select the first type of a type sequence. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename T1 , typename T2 , typename ... $>$ }\\using \mbox{\hyperlink{group__type_ga422dd1b0895f0074ad9932d68d9edbc5}{utl\+::meta\+::second\+\_\+of}} = T2
\begin{DoxyCompactList}\small\item\em Select the second type of a type sequence. \end{DoxyCompactList}\end{DoxyCompactItemize}



\subsection{Detailed Description}
Template meta-\/programming type selections. 

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