mirror of https://github.com/AxioDL/jbus.git
228 lines
18 KiB
HTML
228 lines
18 KiB
HTML
|
<!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.11"/>
|
||
|
<title>JBus: std::experimental::optional< T > 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="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">
|
||
|
$(document).ready(initResizable);
|
||
|
$(window).load(resizeHeight);
|
||
|
</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>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function() { init_search(); });
|
||
|
</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">JBus
|
||
|
</div>
|
||
|
<div id="projectbrief">JoyBuscommunicationserver</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.8.11 -->
|
||
|
<script type="text/javascript">
|
||
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||
|
</script>
|
||
|
<div id="navrow1" class="tabs">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||
|
<li>
|
||
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
||
|
<span class="left">
|
||
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
alt=""/>
|
||
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
||
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||
|
</span><span class="right">
|
||
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
||
|
</span>
|
||
|
</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="navrow2" class="tabs2">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
||
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
||
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
||
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||
|
</ul>
|
||
|
</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">
|
||
|
$(document).ready(function(){initNavTree('classstd_1_1experimental_1_1optional.html','');});
|
||
|
</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="#pub-types">Public Types</a> |
|
||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||
|
<a href="classstd_1_1experimental_1_1optional-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">std::experimental::optional< T > Class Template Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
<div class="dynheader">
|
||
|
Inheritance diagram for std::experimental::optional< T >:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><img src="classstd_1_1experimental_1_1optional__inherit__graph.png" border="0" usemap="#std_1_1experimental_1_1optional_3_01T_01_4_inherit__map" alt="Inheritance graph"/></div>
|
||
|
<map name="std_1_1experimental_1_1optional_3_01T_01_4_inherit__map" id="std_1_1experimental_1_1optional_3_01T_01_4_inherit__map">
|
||
|
</map>
|
||
|
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
|
||
|
<div class="dynheader">
|
||
|
Collaboration diagram for std::experimental::optional< T >:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><img src="classstd_1_1experimental_1_1optional__coll__graph.png" border="0" usemap="#std_1_1experimental_1_1optional_3_01T_01_4_coll__map" alt="Collaboration graph"/></div>
|
||
|
<map name="std_1_1experimental_1_1optional_3_01T_01_4_coll__map" id="std_1_1experimental_1_1optional_3_01T_01_4_coll__map">
|
||
|
</map>
|
||
|
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
|
||
|
<table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
|
||
|
Public Types</h2></td></tr>
|
||
|
<tr class="memitem:a3b480b4a74492ffdbcc9d8529ed512fc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b480b4a74492ffdbcc9d8529ed512fc"></a>
|
||
|
typedef T </td><td class="memItemRight" valign="bottom"><b>value_type</b></td></tr>
|
||
|
<tr class="separator:a3b480b4a74492ffdbcc9d8529ed512fc"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><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:a4254acbb52e75c196ab02784ce4b1ce2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4254acbb52e75c196ab02784ce4b1ce2"></a>
|
||
|
constexpr </td><td class="memItemRight" valign="bottom"><b>optional</b> (<a class="el" href="structstd_1_1experimental_1_1nullopt__t.html">nullopt_t</a>) noexcept</td></tr>
|
||
|
<tr class="separator:a4254acbb52e75c196ab02784ce4b1ce2"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a08324fd562beb2f0a43b242596b47b2b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a08324fd562beb2f0a43b242596b47b2b"></a>
|
||
|
 </td><td class="memItemRight" valign="bottom"><b>optional</b> (const <a class="el" href="classstd_1_1experimental_1_1optional.html">optional</a> &rhs)</td></tr>
|
||
|
<tr class="separator:a08324fd562beb2f0a43b242596b47b2b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aef3982e3d2d30c05d3d80ede551fda76"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef3982e3d2d30c05d3d80ede551fda76"></a>
|
||
|
 </td><td class="memItemRight" valign="bottom"><b>optional</b> (<a class="el" href="classstd_1_1experimental_1_1optional.html">optional</a> &&rhs) noexcept(<a class="el" href="structstd_1_1experimental_1_1is__nothrow__move__constructible.html">is_nothrow_move_constructible</a>< T >::value)</td></tr>
|
||
|
<tr class="separator:aef3982e3d2d30c05d3d80ede551fda76"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:acd004943841f3f762c73924471addd1b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acd004943841f3f762c73924471addd1b"></a>
|
||
|
constexpr </td><td class="memItemRight" valign="bottom"><b>optional</b> (const T &v)</td></tr>
|
||
|
<tr class="separator:acd004943841f3f762c73924471addd1b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a0eabb5769fc6c11a61bc004b314db7d1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0eabb5769fc6c11a61bc004b314db7d1"></a>
|
||
|
constexpr </td><td class="memItemRight" valign="bottom"><b>optional</b> (T &&v)</td></tr>
|
||
|
<tr class="separator:a0eabb5769fc6c11a61bc004b314db7d1"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a2ced55e1ac58a2e17e74f4fb16820a7d"><td class="memTemplParams" colspan="2"><a class="anchor" id="a2ced55e1ac58a2e17e74f4fb16820a7d"></a>
|
||
|
template<class... Args> </td></tr>
|
||
|
<tr class="memitem:a2ced55e1ac58a2e17e74f4fb16820a7d"><td class="memTemplItemLeft" align="right" valign="top">constexpr </td><td class="memTemplItemRight" valign="bottom"><b>optional</b> (<a class="el" href="structstd_1_1experimental_1_1in__place__t.html">in_place_t</a>, Args &&...args)</td></tr>
|
||
|
<tr class="separator:a2ced55e1ac58a2e17e74f4fb16820a7d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a88ae319318277006322429fcf6d03c31"><td class="memTemplParams" colspan="2"><a class="anchor" id="a88ae319318277006322429fcf6d03c31"></a>
|
||
|
template<class U , class... Args, TR2_OPTIONAL_REQUIRES(is_constructible< T, std::initializer_list< U >>) > </td></tr>
|
||
|
<tr class="memitem:a88ae319318277006322429fcf6d03c31"><td class="memTemplItemLeft" align="right" valign="top">OPTIONAL_CONSTEXPR_INIT_LIST </td><td class="memTemplItemRight" valign="bottom"><b>optional</b> (<a class="el" href="structstd_1_1experimental_1_1in__place__t.html">in_place_t</a>, std::initializer_list< U > il, Args &&...args)</td></tr>
|
||
|
<tr class="separator:a88ae319318277006322429fcf6d03c31"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a18ebe94413663ea3b18d9e8d98fbc9af"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18ebe94413663ea3b18d9e8d98fbc9af"></a>
|
||
|
<a class="el" href="classstd_1_1experimental_1_1optional.html">optional</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="structstd_1_1experimental_1_1nullopt__t.html">nullopt_t</a>) noexcept</td></tr>
|
||
|
<tr class="separator:a18ebe94413663ea3b18d9e8d98fbc9af"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a79fc2baa94eb20e81898e351edbe984f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a79fc2baa94eb20e81898e351edbe984f"></a>
|
||
|
<a class="el" href="classstd_1_1experimental_1_1optional.html">optional</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classstd_1_1experimental_1_1optional.html">optional</a> &rhs)</td></tr>
|
||
|
<tr class="separator:a79fc2baa94eb20e81898e351edbe984f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a458e0eb811fd30159370230cb977ab7a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a458e0eb811fd30159370230cb977ab7a"></a>
|
||
|
<a class="el" href="classstd_1_1experimental_1_1optional.html">optional</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="classstd_1_1experimental_1_1optional.html">optional</a> &&rhs) noexcept(<a class="el" href="structstd_1_1experimental_1_1is__nothrow__move__assignable.html">is_nothrow_move_assignable</a>< T >::value &&<a class="el" href="structstd_1_1experimental_1_1is__nothrow__move__constructible.html">is_nothrow_move_constructible</a>< T >::value)</td></tr>
|
||
|
<tr class="separator:a458e0eb811fd30159370230cb977ab7a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a8d17cbbd6737f5a64415f7e61534076b"><td class="memTemplParams" colspan="2"><a class="anchor" id="a8d17cbbd6737f5a64415f7e61534076b"></a>
|
||
|
template<class U > </td></tr>
|
||
|
<tr class="memitem:a8d17cbbd6737f5a64415f7e61534076b"><td class="memTemplItemLeft" align="right" valign="top">auto </td><td class="memTemplItemRight" valign="bottom"><b>operator=</b> (U &&v) -> typename enable_if< is_same< typename decay< U >::type, T >::value, <a class="el" href="classstd_1_1experimental_1_1optional.html">optional</a> & >::type</td></tr>
|
||
|
<tr class="separator:a8d17cbbd6737f5a64415f7e61534076b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad5c534fa356b56697d7d01f731a32467"><td class="memTemplParams" colspan="2"><a class="anchor" id="ad5c534fa356b56697d7d01f731a32467"></a>
|
||
|
template<class... Args> </td></tr>
|
||
|
<tr class="memitem:ad5c534fa356b56697d7d01f731a32467"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><b>emplace</b> (Args &&...args)</td></tr>
|
||
|
<tr class="separator:ad5c534fa356b56697d7d01f731a32467"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a9927a1c12f12cbc2caea910be6ea3cd5"><td class="memTemplParams" colspan="2"><a class="anchor" id="a9927a1c12f12cbc2caea910be6ea3cd5"></a>
|
||
|
template<class U , class... Args> </td></tr>
|
||
|
<tr class="memitem:a9927a1c12f12cbc2caea910be6ea3cd5"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><b>emplace</b> (initializer_list< U > il, Args &&...args)</td></tr>
|
||
|
<tr class="separator:a9927a1c12f12cbc2caea910be6ea3cd5"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a42242463d92f5b331723593bf9fe495d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a42242463d92f5b331723593bf9fe495d"></a>
|
||
|
void </td><td class="memItemRight" valign="bottom"><b>swap</b> (<a class="el" href="classstd_1_1experimental_1_1optional.html">optional</a>< T > &rhs) noexcept(<a class="el" href="structstd_1_1experimental_1_1is__nothrow__move__constructible.html">is_nothrow_move_constructible</a>< T >::value &&noexcept(swap(declval< T & >(), declval< T & >())))</td></tr>
|
||
|
<tr class="separator:a42242463d92f5b331723593bf9fe495d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a8bcb1dbd9288b316662c0c3b1fd9170f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8bcb1dbd9288b316662c0c3b1fd9170f"></a>
|
||
|
constexpr </td><td class="memItemRight" valign="bottom"><b>operator bool</b> () const noexcept</td></tr>
|
||
|
<tr class="separator:a8bcb1dbd9288b316662c0c3b1fd9170f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a459ac3a0c47d72c69218a70ed8fc2264"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a459ac3a0c47d72c69218a70ed8fc2264"></a>
|
||
|
constexpr T const * </td><td class="memItemRight" valign="bottom"><b>operator-></b> () const </td></tr>
|
||
|
<tr class="separator:a459ac3a0c47d72c69218a70ed8fc2264"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae600987ec09d6e04e894ddbe5f0a0b3f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae600987ec09d6e04e894ddbe5f0a0b3f"></a>
|
||
|
T * </td><td class="memItemRight" valign="bottom"><b>operator-></b> ()</td></tr>
|
||
|
<tr class="separator:ae600987ec09d6e04e894ddbe5f0a0b3f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6ff38dd90bcfdf0acac0717ea9f5796d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6ff38dd90bcfdf0acac0717ea9f5796d"></a>
|
||
|
constexpr T const & </td><td class="memItemRight" valign="bottom"><b>operator*</b> () const </td></tr>
|
||
|
<tr class="separator:a6ff38dd90bcfdf0acac0717ea9f5796d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aba547a62e0c8e3cc7d3fcf152e31d56e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aba547a62e0c8e3cc7d3fcf152e31d56e"></a>
|
||
|
T & </td><td class="memItemRight" valign="bottom"><b>operator*</b> ()</td></tr>
|
||
|
<tr class="separator:aba547a62e0c8e3cc7d3fcf152e31d56e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a94cc196c43607d963e5b087324a810cb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a94cc196c43607d963e5b087324a810cb"></a>
|
||
|
constexpr T const & </td><td class="memItemRight" valign="bottom"><b>value</b> () const </td></tr>
|
||
|
<tr class="separator:a94cc196c43607d963e5b087324a810cb"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a2278733d39a8c6b6c032f080b5ca0644"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2278733d39a8c6b6c032f080b5ca0644"></a>
|
||
|
T & </td><td class="memItemRight" valign="bottom"><b>value</b> ()</td></tr>
|
||
|
<tr class="separator:a2278733d39a8c6b6c032f080b5ca0644"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad1746983c31e82f8d94623b50997cf59"><td class="memTemplParams" colspan="2"><a class="anchor" id="ad1746983c31e82f8d94623b50997cf59"></a>
|
||
|
template<class V > </td></tr>
|
||
|
<tr class="memitem:ad1746983c31e82f8d94623b50997cf59"><td class="memTemplItemLeft" align="right" valign="top">constexpr T </td><td class="memTemplItemRight" valign="bottom"><b>value_or</b> (V &&v) const </td></tr>
|
||
|
<tr class="separator:ad1746983c31e82f8d94623b50997cf59"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li>include/jbus/<a class="el" href="optional_8hpp_source.html">optional.hpp</a></li>
|
||
|
</ul>
|
||
|
</div><!-- contents -->
|
||
|
</div><!-- doc-content -->
|
||
|
<!-- start footer part -->
|
||
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||
|
<ul>
|
||
|
<li class="navelem"><b>std</b></li><li class="navelem"><b>experimental</b></li><li class="navelem"><a class="el" href="classstd_1_1experimental_1_1optional.html">optional</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.11 </li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|