📄 cset.operators.html
字号:
<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 <ptypes.h><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& (char b, const cset& s);</pre></blockquote><p>The following rules apply to +,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -