1 <!-- HTML header for doxygen 1.8.13-->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
7 <meta name="generator" content="Doxygen 1.8.15"/>
8 <meta name="viewport" content="width=device-width, initial-scale=1"/>
9 <title>Generic Image Library: channels_are_compatible< T1, T2 > Struct Template Reference</title>
10 <link href="tabs.css" rel="stylesheet" type="text/css"/>
11 <script type="text/javascript" src="jquery.js"></script>
12 <script type="text/javascript" src="dynsections.js"></script>
13 <link href="doxygen.css" rel="stylesheet" type="text/css" />
14 <link href="doxygen-boost.css" rel="stylesheet" type="text/css"/>
17 <div class="boost-header">
18 <table border="0" cellpadding="7" cellspacing="0" width="100%" summary="header">
20 <td valign="top" width="300">
21 <h3><a href="../index.html"><img alt="Boost GIL" src="../_static/gil.png" border="0"></a></h3>
23 <td ><h1 align="center"><a href="../index.html"></a></h1></td>
29 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
30 <!-- Generated by Doxygen 1.8.15 -->
31 <script type="text/javascript" src="menudata.js"></script>
32 <script type="text/javascript" src="menu.js"></script>
33 <script type="text/javascript">
34 /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
36 initMenu('',false,false,'search.php','Search');
38 /* @license-end */</script>
39 <div id="main-nav"></div>
40 <div id="nav-path" class="navpath">
42 <li class="navelem"><b>boost</b></li><li class="navelem"><b>gil</b></li><li class="navelem"><a class="el" href="structboost_1_1gil_1_1channels__are__compatible.html">channels_are_compatible</a></li> </ul>
46 <div class="headertitle">
47 <div class="title">channels_are_compatible< T1, T2 > Struct Template Reference<div class="ingroups"><a class="el" href="group___channel.html">Channel</a> » <a class="el" href="group___channel_algorithm.html">Algorithms and Utility Functions</a></div></div> </div>
49 <div class="contents">
51 <p>Predicate metafunction returning whether two channels are compatible.
52 <a href="structboost_1_1gil_1_1channels__are__compatible.html#details">More...</a></p>
54 <p><code>#include <<a class="el" href="concepts_2channel_8hpp_source.html">channel.hpp</a>></code></p>
56 <p>Inherits is_same< channel_traits< T1 >::value_type, channel_traits< T2 >::value_type >.</p>
57 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
58 <div class="textblock"><h3>template<typename T1, typename T2><br />
59 struct boost::gil::channels_are_compatible< T1, T2 ></h3>
61 <p>Predicate metafunction returning whether two channels are compatible. </p>
62 <p>Channels are considered compatible if their value types (ignoring constness and references) are the same.</p>
64 <div class="fragment"><div class="line">static_assert(channels_are_compatible<uint8_t, const uint8_t&>::value, <span class="stringliteral">""</span>);</div></div><!-- fragment --> </div><hr/>The documentation for this struct was generated from the following file:<ul>
65 <li><a class="el" href="concepts_2channel_8hpp_source.html">concepts/channel.hpp</a></li>
67 </div><!-- contents -->
68 <!-- HTML footer for doxygen 1.8.13-->
69 <!-- start footer part -->
71 <address class="footer">
73 Generated by  <a href="http://www.doxygen.org/index.html">doxygen</a> 1.8.15