blob: 0033934efa6c33973933d018d24222be4bd84783 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>&nbsp; Apache Ignite C++: ignite::Reference&lt; T &gt; Class Template 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="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="projectlogo"><img alt="Logo" src="ignite_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">&nbsp; Apache Ignite C++
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;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&amp;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>
<!-- 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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceignite.html">ignite</a></li><li class="navelem"><a class="el" href="classignite_1_1Reference.html">Reference</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classignite_1_1Reference-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ignite::Reference&lt; T &gt; Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="classignite_1_1Reference.html" title="Reference class.">Reference</a> class.
<a href="classignite_1_1Reference.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="reference_8h_source.html">reference.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad5f8125a11a0a61673858c6e75ced9c2"><td class="memItemLeft" align="right" valign="top"><a id="ad5f8125a11a0a61673858c6e75ced9c2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Reference.html#ad5f8125a11a0a61673858c6e75ced9c2">Reference</a> ()</td></tr>
<tr class="memdesc:ad5f8125a11a0a61673858c6e75ced9c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:ad5f8125a11a0a61673858c6e75ced9c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a447aa7f80238431a16f32ce60e453b26"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Reference.html#a447aa7f80238431a16f32ce60e453b26">Reference</a> (common::ReferenceImplBase *ptr, ptrdiff_t offset=0)</td></tr>
<tr class="memdesc:a447aa7f80238431a16f32ce60e453b26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <a href="classignite_1_1Reference.html#a447aa7f80238431a16f32ce60e453b26">More...</a><br /></td></tr>
<tr class="separator:a447aa7f80238431a16f32ce60e453b26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a052137299ad55af40b28018d3c63c167"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Reference.html#a052137299ad55af40b28018d3c63c167">Reference</a> (const <a class="el" href="classignite_1_1Reference.html">Reference</a> &amp;other)</td></tr>
<tr class="memdesc:a052137299ad55af40b28018d3c63c167"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <a href="classignite_1_1Reference.html#a052137299ad55af40b28018d3c63c167">More...</a><br /></td></tr>
<tr class="separator:a052137299ad55af40b28018d3c63c167"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a779a19fd6c4a8a4e189ec46213ce10"><td class="memTemplParams" colspan="2">template&lt;typename T2 &gt; </td></tr>
<tr class="memitem:a3a779a19fd6c4a8a4e189ec46213ce10"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classignite_1_1Reference.html#a3a779a19fd6c4a8a4e189ec46213ce10">Reference</a> (const <a class="el" href="classignite_1_1Reference.html">Reference</a>&lt; T2 &gt; &amp;other)</td></tr>
<tr class="memdesc:a3a779a19fd6c4a8a4e189ec46213ce10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <a href="classignite_1_1Reference.html#a3a779a19fd6c4a8a4e189ec46213ce10">More...</a><br /></td></tr>
<tr class="separator:a3a779a19fd6c4a8a4e189ec46213ce10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c7943df1753b8c13cd200347843424d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1Reference.html">Reference</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Reference.html#a6c7943df1753b8c13cd200347843424d">operator=</a> (const <a class="el" href="classignite_1_1Reference.html">Reference</a> &amp;other)</td></tr>
<tr class="memdesc:a6c7943df1753b8c13cd200347843424d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator. <a href="classignite_1_1Reference.html#a6c7943df1753b8c13cd200347843424d">More...</a><br /></td></tr>
<tr class="separator:a6c7943df1753b8c13cd200347843424d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdf65f728290032bec9def699482586b"><td class="memTemplParams" colspan="2">template&lt;typename T2 &gt; </td></tr>
<tr class="memitem:afdf65f728290032bec9def699482586b"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classignite_1_1Reference.html">Reference</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classignite_1_1Reference.html#afdf65f728290032bec9def699482586b">operator=</a> (const <a class="el" href="classignite_1_1Reference.html">Reference</a>&lt; T2 &gt; &amp;other)</td></tr>
<tr class="memdesc:afdf65f728290032bec9def699482586b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator. <a href="classignite_1_1Reference.html#afdf65f728290032bec9def699482586b">More...</a><br /></td></tr>
<tr class="separator:afdf65f728290032bec9def699482586b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa65cdfb8035bf373b8b588ac2f1f8df7"><td class="memItemLeft" align="right" valign="top"><a id="aa65cdfb8035bf373b8b588ac2f1f8df7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Reference.html#aa65cdfb8035bf373b8b588ac2f1f8df7">~Reference</a> ()</td></tr>
<tr class="memdesc:aa65cdfb8035bf373b8b588ac2f1f8df7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:aa65cdfb8035bf373b8b588ac2f1f8df7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd2dae4aa5c8210ae2f4b1c606a023bd"><td class="memTemplParams" colspan="2">template&lt;typename T2 &gt; </td></tr>
<tr class="memitem:afd2dae4aa5c8210ae2f4b1c606a023bd"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classignite_1_1Reference.html#afd2dae4aa5c8210ae2f4b1c606a023bd">operator ConstReference&lt; T2 &gt;</a> ()</td></tr>
<tr class="memdesc:afd2dae4aa5c8210ae2f4b1c606a023bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const cast operator. <a href="classignite_1_1Reference.html#afd2dae4aa5c8210ae2f4b1c606a023bd">More...</a><br /></td></tr>
<tr class="separator:afd2dae4aa5c8210ae2f4b1c606a023bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e6c8a532e01905d730eaeda6a9652d4"><td class="memItemLeft" align="right" valign="top">const T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Reference.html#a1e6c8a532e01905d730eaeda6a9652d4">Get</a> () const</td></tr>
<tr class="memdesc:a1e6c8a532e01905d730eaeda6a9652d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dereference the pointer. <a href="classignite_1_1Reference.html#a1e6c8a532e01905d730eaeda6a9652d4">More...</a><br /></td></tr>
<tr class="separator:a1e6c8a532e01905d730eaeda6a9652d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c1bffd02cdd02552ba5ad144578db66"><td class="memItemLeft" align="right" valign="top">T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Reference.html#a5c1bffd02cdd02552ba5ad144578db66">Get</a> ()</td></tr>
<tr class="memdesc:a5c1bffd02cdd02552ba5ad144578db66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dereference the pointer. <a href="classignite_1_1Reference.html#a5c1bffd02cdd02552ba5ad144578db66">More...</a><br /></td></tr>
<tr class="separator:a5c1bffd02cdd02552ba5ad144578db66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4d19e07149bac2cec618ae41f5de900"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classignite_1_1Reference.html#af4d19e07149bac2cec618ae41f5de900">IsNull</a> () const</td></tr>
<tr class="memdesc:af4d19e07149bac2cec618ae41f5de900"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the pointer is null. <a href="classignite_1_1Reference.html#af4d19e07149bac2cec618ae41f5de900">More...</a><br /></td></tr>
<tr class="separator:af4d19e07149bac2cec618ae41f5de900"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br />
class ignite::Reference&lt; T &gt;</h3>
<p><a class="el" href="classignite_1_1Reference.html" title="Reference class.">Reference</a> class. </p>
<p>Abstraction on any reference-type object, from simple raw pointers and references to standard library smart pointers.</p>
<p>There are no requirements for the template type T. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a447aa7f80238431a16f32ce60e453b26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a447aa7f80238431a16f32ce60e453b26">&#9670;&nbsp;</a></span>Reference() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1Reference.html">ignite::Reference</a>&lt; T &gt;::<a class="el" href="classignite_1_1Reference.html">Reference</a> </td>
<td>(</td>
<td class="paramtype">common::ReferenceImplBase *&#160;</td>
<td class="paramname"><em>ptr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">ptrdiff_t&#160;</td>
<td class="paramname"><em>offset</em> = <code>0</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ptr</td><td><a class="el" href="classignite_1_1Reference.html" title="Reference class.">Reference</a> class implementation. </td></tr>
<tr><td class="paramname">offset</td><td>Pointer offset. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a052137299ad55af40b28018d3c63c167"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a052137299ad55af40b28018d3c63c167">&#9670;&nbsp;</a></span>Reference() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1Reference.html">ignite::Reference</a>&lt; T &gt;::<a class="el" href="classignite_1_1Reference.html">Reference</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classignite_1_1Reference.html">Reference</a>&lt; T &gt; &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Copy constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>Another instance. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a3a779a19fd6c4a8a4e189ec46213ce10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a779a19fd6c4a8a4e189ec46213ce10">&#9670;&nbsp;</a></span>Reference() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<div class="memtemplate">
template&lt;typename T2 &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1Reference.html">ignite::Reference</a>&lt; T &gt;::<a class="el" href="classignite_1_1Reference.html">Reference</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classignite_1_1Reference.html">Reference</a>&lt; T2 &gt; &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Copy constructor. </p>
<p><a class="el" href="classignite_1_1Reference.html" title="Reference class.">Reference</a> of type T2 should be static-castable to reference of type T.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>Another instance. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a5c1bffd02cdd02552ba5ad144578db66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c1bffd02cdd02552ba5ad144578db66">&#9670;&nbsp;</a></span>Get() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">T* <a class="el" href="classignite_1_1Reference.html">ignite::Reference</a>&lt; T &gt;::Get </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Dereference the pointer. </p>
<p>If the pointer is null then this operation causes undefined behaviour.</p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classignite_1_1Reference.html" title="Reference class.">Reference</a> to underlying value. </dd></dl>
</div>
</div>
<a id="a1e6c8a532e01905d730eaeda6a9652d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e6c8a532e01905d730eaeda6a9652d4">&#9670;&nbsp;</a></span>Get() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const T* <a class="el" href="classignite_1_1Reference.html">ignite::Reference</a>&lt; T &gt;::Get </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Dereference the pointer. </p>
<p>If the pointer is null then this operation causes undefined behaviour.</p>
<dl class="section return"><dt>Returns</dt><dd>Constant pointer to underlying value. </dd></dl>
</div>
</div>
<a id="af4d19e07149bac2cec618ae41f5de900"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4d19e07149bac2cec618ae41f5de900">&#9670;&nbsp;</a></span>IsNull()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classignite_1_1Reference.html">ignite::Reference</a>&lt; T &gt;::IsNull </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Check if the pointer is null. </p>
<dl class="section return"><dt>Returns</dt><dd>True if the value is null. </dd></dl>
</div>
</div>
<a id="afd2dae4aa5c8210ae2f4b1c606a023bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd2dae4aa5c8210ae2f4b1c606a023bd">&#9670;&nbsp;</a></span>operator ConstReference&lt; T2 &gt;()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<div class="memtemplate">
template&lt;typename T2 &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1Reference.html">ignite::Reference</a>&lt; T &gt;::operator <a class="el" href="classignite_1_1ConstReference.html">ConstReference</a>&lt; T2 &gt; </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Const cast operator. </p>
<p><a class="el" href="classignite_1_1Reference.html" title="Reference class.">Reference</a> of type T2 should be static-castable to reference of type T.</p>
<p>Casts this instance to constant reference. </p>
</div>
</div>
<a id="a6c7943df1753b8c13cd200347843424d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c7943df1753b8c13cd200347843424d">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1Reference.html">Reference</a>&amp; <a class="el" href="classignite_1_1Reference.html">ignite::Reference</a>&lt; T &gt;::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classignite_1_1Reference.html">Reference</a>&lt; T &gt; &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Assignment operator. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>Another instance. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="afdf65f728290032bec9def699482586b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afdf65f728290032bec9def699482586b">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<div class="memtemplate">
template&lt;typename T2 &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classignite_1_1Reference.html">Reference</a>&amp; <a class="el" href="classignite_1_1Reference.html">ignite::Reference</a>&lt; T &gt;::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classignite_1_1Reference.html">Reference</a>&lt; T2 &gt; &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Assignment operator. </p>
<p><a class="el" href="classignite_1_1Reference.html" title="Reference class.">Reference</a> of type T2 should be static-castable to reference of type T.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">other</td><td>Another instance. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="reference_8h_source.html">reference.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jan 10 2022 11:02:04 for &nbsp; Apache Ignite C++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>