|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.14"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>uTL: include/utl/utility/invoke.h File Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="navtree.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="resize.js"></script>
- <script type="text/javascript" src="navtreedata.js"></script>
- <script type="text/javascript" src="navtree.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(initResizable);
- /* @license-end */</script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">uTL
- </div>
- <div id="projectbrief">micro Template library</div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.14 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- /* @license-end */
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- /* @license-end */</script>
- <div id="main-nav"></div>
- </div><!-- top -->
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- <div id="nav-sync" class="sync"></div>
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(function(){initNavTree('utility_2invoke_8h.html','');});
- /* @license-end */
- </script>
- <div id="doc-content">
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
-
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
-
- <div class="header">
- <div class="summary">
- <a href="#nested-classes">Classes</a> |
- <a href="#namespaces">Namespaces</a> |
- <a href="#func-members">Functions</a> </div>
- <div class="headertitle">
- <div class="title">invoke.h File Reference</div> </div>
- </div><!--header-->
- <div class="contents">
-
- <p><a class="el" href="namespaceutl.html#adc675874b5426194d04112f76b356714" title="Invoke a callable object (for C++14) ">invoke()</a> and invoke traits implementation
- <a href="#details">More...</a></p>
- <div class="textblock"><code>#include <<a class="el" href="impl_8h_source.html">utl/core/impl.h</a>></code><br />
- <code>#include <<a class="el" href="meta_8h_source.html">utl/meta/meta.h</a>></code><br />
- <code>#include <type_traits></code><br />
- <code>#include <functional></code><br />
- <code>#include <utility></code><br />
- </div>
- <p><a href="utility_2invoke_8h_source.html">Go to the source code of this file.</a></p>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
- Classes</h2></td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1detail_1_1is__ref__wrapper.html">utl::detail::is_ref_wrapper< T ></a></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1detail_1_1is__ref__wrapper_3_01std_1_1reference__wrapper_3_01_u_01_4_01_4.html">utl::detail::is_ref_wrapper< std::reference_wrapper< U > ></a></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1is__invocable.html">utl::is_invocable< F, Args ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">std::is_invocable trait for C++11 <a href="structutl_1_1is__invocable.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1is__invocable__r.html">utl::is_invocable_r< R, F, Args ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">std::is_invocable_r trait for C++11 <a href="structutl_1_1is__invocable__r.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1detail_1_1try__invoke.html">utl::detail::try_invoke< _Callable, _Args ></a></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1detail_1_1invoke__result__.html">utl::detail::invoke_result_< B, _Callable, _Args ></a></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1detail_1_1invoke__result___3_01true_00_01___callable_00_01___args_8_8_8_01_4.html">utl::detail::invoke_result_< true, _Callable, _Args... ></a></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
- Namespaces</h2></td></tr>
- <tr class="memitem:namespaceutl"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceutl.html">utl</a></td></tr>
- <tr class="memdesc:namespaceutl"><td class="mdescLeft"> </td><td class="mdescRight">STL's core language concepts. <br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:namespaceutl_1_1detail"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1detail.html">utl::detail</a></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
- Typedefs</h2></td></tr>
- <tr><td colspan="2"><div class="groupHeader"></div></td></tr>
- <tr class="memitem:a9dd560a1b217a10af34d1ade3e77a76b"><td class="memTemplParams" colspan="2">template<typename _Callable , typename... _Args> </td></tr>
- <tr class="memitem:a9dd560a1b217a10af34d1ade3e77a76b"><td class="memTemplItemLeft" align="right" valign="top">using </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl.html#a9dd560a1b217a10af34d1ade3e77a76b">utl::invoke_result</a> = detail::invoke_result_< is_invocable< _Callable, _Args... >::value, _Callable, _Args... ></td></tr>
- <tr class="memdesc:a9dd560a1b217a10af34d1ade3e77a76b"><td class="mdescLeft"> </td><td class="mdescRight">invoke_result (for C++14) <a href="namespaceutl.html#a9dd560a1b217a10af34d1ade3e77a76b">More...</a><br /></td></tr>
- <tr class="separator:a9dd560a1b217a10af34d1ade3e77a76b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae40494acc30f2894c74544f3e9142933"><td class="memTemplParams" colspan="2">template<typename _Callable , typename... _Args> </td></tr>
- <tr class="memitem:ae40494acc30f2894c74544f3e9142933"><td class="memTemplItemLeft" align="right" valign="top">using </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl.html#ae40494acc30f2894c74544f3e9142933">utl::invoke_result_t</a> = meta::eval< invoke_result< _Callable, _Args... > ></td></tr>
- <tr class="memdesc:ae40494acc30f2894c74544f3e9142933"><td class="mdescLeft"> </td><td class="mdescRight">invoke_result_t (for C++14) <a href="namespaceutl.html#ae40494acc30f2894c74544f3e9142933">More...</a><br /></td></tr>
- <tr class="separator:ae40494acc30f2894c74544f3e9142933"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
- Functions</h2></td></tr>
- <tr class="memitem:a2c39a67272ada5da5f1b84115dadc4a1"><td class="memTemplParams" colspan="2">template<class T , class Type , class T1 , class... Args, meta::enable_if_t< std::is_member_function_pointer< std::decay_t< Type T::*>>::value &&std::is_base_of< T, std::decay_t< T1 >>::value, int > = 0> </td></tr>
- <tr class="memitem:a2c39a67272ada5da5f1b84115dadc4a1"><td class="memTemplItemLeft" align="right" valign="top">decltype(auto) </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1detail.html#a2c39a67272ada5da5f1b84115dadc4a1">utl::detail::invoke_impl_</a> (Type T::*f, T1 &&t1, Args &&... args)</td></tr>
- <tr class="separator:a2c39a67272ada5da5f1b84115dadc4a1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a09341831ecc9aab67a23d3a47b2d114f"><td class="memTemplParams" colspan="2">template<class F , class... Args> </td></tr>
- <tr class="memitem:a09341831ecc9aab67a23d3a47b2d114f"><td class="memTemplItemLeft" align="right" valign="top">decltype(auto) </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1detail.html#a09341831ecc9aab67a23d3a47b2d114f">utl::detail::invoke_impl_</a> (F &&f, Args &&... args)</td></tr>
- <tr class="separator:a09341831ecc9aab67a23d3a47b2d114f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:adc675874b5426194d04112f76b356714"><td class="memTemplParams" colspan="2">template<typename _Callable , typename... _Args> </td></tr>
- <tr class="memitem:adc675874b5426194d04112f76b356714"><td class="memTemplItemLeft" align="right" valign="top">decltype(auto) </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl.html#adc675874b5426194d04112f76b356714">utl::invoke</a> (_Callable &&fn, _Args &&... args)</td></tr>
- <tr class="memdesc:adc675874b5426194d04112f76b356714"><td class="mdescLeft"> </td><td class="mdescRight">Invoke a callable object (for C++14) <a href="namespaceutl.html#adc675874b5426194d04112f76b356714">More...</a><br /></td></tr>
- <tr class="separator:adc675874b5426194d04112f76b356714"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <div class="textblock"><p><a class="el" href="namespaceutl.html#adc675874b5426194d04112f76b356714" title="Invoke a callable object (for C++14) ">invoke()</a> and invoke traits implementation </p>
- <p>Copyright (C) 2018-2019 Christos Choutouridis</p>
- <p>This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
- <p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more detail.</p>
- <p>You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </p>
-
- <p class="definition">Definition in file <a class="el" href="utility_2invoke_8h_source.html">invoke.h</a>.</p>
- </div></div><!-- contents -->
- </div><!-- doc-content -->
- <!-- start footer part -->
- <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
- <ul>
- <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_82754f54d9380477ef02477185c1f103.html">utl</a></li><li class="navelem"><a class="el" href="dir_cd2b5ca7f5fdf6a80655358f064ed410.html">utility</a></li><li class="navelem"><a class="el" href="utility_2invoke_8h.html">invoke.h</a></li>
- <li class="footer">Generated by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
- </ul>
- </div>
- </body>
- </html>
|