|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- \hypertarget{utility_2invoke_8h}{}\section{include/utl/utility/invoke.h File Reference}
- \label{utility_2invoke_8h}\index{include/utl/utility/invoke.\+h@{include/utl/utility/invoke.\+h}}
-
-
- \mbox{\hyperlink{namespaceutl_adc675874b5426194d04112f76b356714}{invoke()}} and invoke traits implementation
-
-
- {\ttfamily \#include $<$utl/core/impl.\+h$>$}\newline
- {\ttfamily \#include $<$utl/meta/meta.\+h$>$}\newline
- {\ttfamily \#include $<$type\+\_\+traits$>$}\newline
- {\ttfamily \#include $<$functional$>$}\newline
- {\ttfamily \#include $<$utility$>$}\newline
- \subsection*{Classes}
- \begin{DoxyCompactItemize}
- \item
- struct \mbox{\hyperlink{structutl_1_1detail_1_1is__ref__wrapper}{utl\+::detail\+::is\+\_\+ref\+\_\+wrapper$<$ T $>$}}
- \item
- struct \mbox{\hyperlink{structutl_1_1detail_1_1is__ref__wrapper_3_01std_1_1reference__wrapper_3_01_u_01_4_01_4}{utl\+::detail\+::is\+\_\+ref\+\_\+wrapper$<$ std\+::reference\+\_\+wrapper$<$ U $>$ $>$}}
- \item
- struct \mbox{\hyperlink{structutl_1_1is__invocable}{utl\+::is\+\_\+invocable$<$ F, Args $>$}}
- \begin{DoxyCompactList}\small\item\em std\+::is\+\_\+invocable trait for C++11 \end{DoxyCompactList}\item
- struct \mbox{\hyperlink{structutl_1_1is__invocable__r}{utl\+::is\+\_\+invocable\+\_\+r$<$ R, F, Args $>$}}
- \begin{DoxyCompactList}\small\item\em std\+::is\+\_\+invocable\+\_\+r trait for C++11 \end{DoxyCompactList}\item
- struct \mbox{\hyperlink{structutl_1_1detail_1_1try__invoke}{utl\+::detail\+::try\+\_\+invoke$<$ \+\_\+\+Callable, \+\_\+\+Args $>$}}
- \item
- struct \mbox{\hyperlink{structutl_1_1detail_1_1invoke__result__}{utl\+::detail\+::invoke\+\_\+result\+\_\+$<$ B, \+\_\+\+Callable, \+\_\+\+Args $>$}}
- \item
- struct \mbox{\hyperlink{structutl_1_1detail_1_1invoke__result___3_01true_00_01___callable_00_01___args_8_8_8_01_4}{utl\+::detail\+::invoke\+\_\+result\+\_\+$<$ true, \+\_\+\+Callable, \+\_\+\+Args... $>$}}
- \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_1detail}{utl\+::detail}}
- \end{DoxyCompactItemize}
- \subsection*{Typedefs}
- \textbf{ }\par
- \begin{DoxyCompactItemize}
- \item
- {\footnotesize template$<$typename \+\_\+\+Callable , typename... \+\_\+\+Args$>$ }\\using \mbox{\hyperlink{namespaceutl_a9dd560a1b217a10af34d1ade3e77a76b}{utl\+::invoke\+\_\+result}} = detail\+::invoke\+\_\+result\+\_\+$<$ is\+\_\+invocable$<$ \+\_\+\+Callable, \+\_\+\+Args... $>$\+::value, \+\_\+\+Callable, \+\_\+\+Args... $>$
- \begin{DoxyCompactList}\small\item\em invoke\+\_\+result (for C++14) \end{DoxyCompactList}\item
- {\footnotesize template$<$typename \+\_\+\+Callable , typename... \+\_\+\+Args$>$ }\\using \mbox{\hyperlink{namespaceutl_ae40494acc30f2894c74544f3e9142933}{utl\+::invoke\+\_\+result\+\_\+t}} = meta\+::eval$<$ invoke\+\_\+result$<$ \+\_\+\+Callable, \+\_\+\+Args... $>$ $>$
- \begin{DoxyCompactList}\small\item\em invoke\+\_\+result\+\_\+t (for C++14) \end{DoxyCompactList}\end{DoxyCompactItemize}
-
- \subsection*{Functions}
- \begin{DoxyCompactItemize}
- \item
- {\footnotesize template$<$class T , class Type , class T1 , class... Args, meta\+::enable\+\_\+if\+\_\+t$<$ std\+::is\+\_\+member\+\_\+function\+\_\+pointer$<$ std\+::decay\+\_\+t$<$ Type T\+::$\ast$$>$$>$\+::value \&\&std\+::is\+\_\+base\+\_\+of$<$ T, std\+::decay\+\_\+t$<$ T1 $>$$>$\+::value, int $>$ = 0$>$ }\\decltype(auto) \mbox{\hyperlink{namespaceutl_1_1detail_a2c39a67272ada5da5f1b84115dadc4a1}{utl\+::detail\+::invoke\+\_\+impl\+\_\+}} (Type T\+::$\ast$f, T1 \&\&t1, Args \&\&... args)
- \item
- {\footnotesize template$<$class F , class... Args$>$ }\\decltype(auto) \mbox{\hyperlink{namespaceutl_1_1detail_a09341831ecc9aab67a23d3a47b2d114f}{utl\+::detail\+::invoke\+\_\+impl\+\_\+}} (F \&\&f, Args \&\&... args)
- \item
- {\footnotesize template$<$typename \+\_\+\+Callable , typename... \+\_\+\+Args$>$ }\\decltype(auto) \mbox{\hyperlink{namespaceutl_adc675874b5426194d04112f76b356714}{utl\+::invoke}} (\+\_\+\+Callable \&\&fn, \+\_\+\+Args \&\&... args)
- \begin{DoxyCompactList}\small\item\em Invoke a callable object (for C++14) \end{DoxyCompactList}\end{DoxyCompactItemize}
-
-
- \subsection{Detailed Description}
- \mbox{\hyperlink{namespaceutl_adc675874b5426194d04112f76b356714}{invoke()}} and invoke traits implementation
-
- 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 detail.
-
- 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/}.
|