1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6 <meta name="generator" content="Doxygen 1.9.1"/>
7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
8 <title>libsigc++: sigc::adaptor_trait< T_functor, I_isadaptor > Struct Template Reference</title>
9 <link href="tabs.css" rel="stylesheet" type="text/css"/>
10 <script type="text/javascript" src="jquery.js"></script>
11 <script type="text/javascript" src="dynsections.js"></script>
12 <link href="doxygen.css" rel="stylesheet" type="text/css" />
13 <link href="doxygen-extra.css" rel="stylesheet" type="text/css"/>
16 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
18 <table cellspacing="0" cellpadding="0">
20 <tr style="height: 56px;">
21 <td id="projectalign" style="padding-left: 0.5em;">
22 <div id="projectname">libsigc++
23  <span id="projectnumber">2.10.8</span>
30 <!-- end header part -->
31 <!-- Generated by Doxygen 1.9.1 -->
32 <script type="text/javascript" src="menudata.js"></script>
33 <script type="text/javascript" src="menu.js"></script>
34 <script type="text/javascript">
35 /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
37 initMenu('',false,false,'search.php','Search');
39 /* @license-end */</script>
40 <div id="main-nav"></div>
41 <div id="nav-path" class="navpath">
43 <li class="navelem"><a class="el" href="namespacesigc.html">sigc</a></li><li class="navelem"><a class="el" href="structsigc_1_1adaptor__trait.html">adaptor_trait</a></li> </ul>
47 <div class="headertitle">
48 <div class="title">sigc::adaptor_trait< T_functor, I_isadaptor > Struct Template Reference<div class="ingroups"><a class="el" href="group__adaptors.html">Adaptors</a></div></div> </div>
50 <div class="contents">
52 <p>Trait that specifies what is the adaptor version of a functor type.
53 <a href="structsigc_1_1adaptor__trait.html#details">More...</a></p>
55 <p><code>#include <sigc++/adaptors/adaptor_trait.h></code></p>
56 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
57 <div class="textblock"><h3>template<class T_functor, bool I_isadaptor = std::is_base_of<adaptor_base, T_functor>::value><br />
58 struct sigc::adaptor_trait< T_functor, I_isadaptor ></h3>
60 <p>Trait that specifies what is the adaptor version of a functor type. </p>
61 <p>Template specializations for <a class="el" href="structsigc_1_1adaptor__base.html" title="A hint to the compiler.">sigc::adaptor_base</a> derived functors, for function pointers and for class methods are provided.</p>
62 <p>The template argument <em>T_functor</em> is the functor type to convert. <em>I_isadaptor</em> indicates whether <em>T_functor</em> inherits from <a class="el" href="structsigc_1_1adaptor__base.html" title="A hint to the compiler.">sigc::adaptor_base</a>. </p>
63 </div></div><!-- contents -->
64 <!-- start footer part -->
65 <hr class="footer"/><address class="footer"><small>
66 Generated on Fri Feb 11 2022 15:40:57 for libsigc++ by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1