-
Notifications
You must be signed in to change notification settings - Fork 2
/
structmist_1_1implement__operator__div.html
81 lines (78 loc) · 4.78 KB
/
structmist_1_1implement__operator__div.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>構造体 テンプレート mist::implement_operator_div< T ></title>
<link href="mist.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- 作成: Doxygen 1.8.1.2 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>メインページ</span></a></li>
<li><a href="modules.html"><span>モジュール</span></a></li>
<li><a href="namespaces.html"><span>ネームスペース</span></a></li>
<li class="current"><a href="annotated.html"><span>データ構造</span></a></li>
<li><a href="files.html"><span>ファイル</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>データ構造</span></a></li>
<li><a href="classes.html"><span>データ構造索引</span></a></li>
<li><a href="hierarchy.html"><span>クラス階層</span></a></li>
<li><a href="functions.html"><span>データフィールド</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacemist.html">mist</a></li><li class="navelem"><a class="el" href="structmist_1_1implement__operator__div.html">implement_operator_div</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">構造体 テンプレート mist::implement_operator_div< T ><div class="ingroups"><a class="el" href="group__operator__group.html">演算子の実装補助</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>割り算
<a href="structmist_1_1implement__operator__div.html#details">[詳細]</a></p>
<p><code>#include <<a class="el" href="operators_8h_source.html">operators.h</a>></code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> mist::implement_operator_div< T >に対する継承グラフ</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center">
<img src="structmist_1_1implement__operator__div.png" usemap="#mist::implement_operator_div< T >_map" alt=""/>
<map id="mist::implement_operator_div< T >_map" name="mist::implement_operator_div< T >_map">
<area href="structmist_1_1implement__arithmetic__operators.html" title="四則演算オペレータを実装する" alt="mist::implement_arithmetic_operators< T >" shape="rect" coords="0,56,247,80"/>
<area href="structmist_1_1implement__operators.html" title="全てのオペレータを実装する" alt="mist::implement_operators< T >" shape="rect" coords="0,112,247,136"/>
</map>
</div></div>
<a name="details" id="details"></a><h2>説明</h2>
<div class="textblock"><h3>template<class T><br/>
struct mist::implement_operator_div< T ></h3>
<p>割り算 </p>
<p>「/=」オペレータを実装しているクラスに対して,2項演算子の「/」を自動的に実装する</p>
<dl class="section attention"><dt>注意</dt><dd>「/=」オペレータは,必ず実装しておく必要があります.</dd></dl>
<dl class="params"><dt>引数</dt><dd>
<table class="params">
<tr><td class="paramname">T</td><td>… 本オペレータを実装するクラス</td></tr>
</table>
</dd>
</dl>
<div class="fragment"><div class="line"> 使用例</div>
<div class="line"><span class="keyword">class </span>hoge : <a class="code" href="structmist_1_1implement__operator__div.html" title="割り算">mist::implement_operator_div</a>< hoge ></div>
<div class="line">{</div>
<div class="line"> hoge &<a class="code" href="operator__array_8h.html#a47a7d596071b21690e409724cf9cffc1" title="関数・クラスの概要を書く">operator /=</a>( <span class="keyword">const</span> hoge &h )</div>
<div class="line"> {</div>
<div class="line"> ... 処理を実装する ...</div>
<div class="line"> <span class="keywordflow">return</span>( *hoge );</div>
<div class="line"> }</div>
<div class="line">};</div>
</div><!-- fragment --> </div><hr/>この構造体の説明は次のファイルから生成されました:<ul>
<li><a class="el" href="operators_8h_source.html">operators.h</a></li>
</ul>
</div><!-- contents -->
<hr size="1"><address style="align: right;"><small>
Generated on Wed Nov 12 2014 19:44:29 for MIST by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.8.1.2</small></address>
</body>
</html>