cset.operators.html

来自「PTypes (C++ Portable Types Library) is a」· HTML 代码 · 共 48 行

HTML
48
字号
<html><!-- #BeginTemplate "/Templates/tmpl.dwt" --><head><!-- #BeginEditable "doctitle" --> <title>PTypes: cset: operators</title><!-- #EndEditable --> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link rel="stylesheet" href="styles.css"></head><body bgcolor="#FFFFFF" leftmargin="40" marginwidth="40"><p><a href="../index.html"><img src="title-1.7.gif" width="213" height="34" alt="C++ Portable Types Library (PTypes) Version 1.7" border="0"></a> <hr noshade><!-- #BeginEditable "body" --> <p class="hpath"><a href="index.html">Top</a>: <a href="basic.html">Basic types</a>: <a href="cset.html">cset</a>: Operators</p><blockquote> <pre class="lang">#include &lt;ptypes.h&gt;<span class="comment">// assignment</span>cset& cset::operator= (const cset& s);<span class="comment">// union</span>cset& cset::operator+= (const cset& s);cset& cset::operator+= (char b);cset  cset::operator+  (const cset& s) const;cset  cset::operator+  (char b) const;friend cset operator+  (char b, const cset& s);<span class="comment">// difference</span>cset& cset::operator-= (const cset& s);cset& cset::operator-= (char b);cset  cset::operator-  (const cset& s) const;cset  cset::operator-  (char b) const;<span class="comment">// intersection</span>cset& cset::operator*= (const cset& s);cset  cset::operator*  (const cset& s) const;<span class="comment">// comparison</span>bool  cset::operator== (const cset& s) const;bool  cset::operator!= (const cset& s) const;bool  cset::operator<= (const cset& s) const;bool  cset::operator>= (const cset& s) const;<span class="comment">// membership</span>friend bool operator&amp; (char b, const cset& s);</pre></blockquote><p>The following rules apply to +, 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?