📄 badid.htm
字号:
<html>
<head>
<title>bad_typeid</title>
<head>
<body bgcolor="#FFFFFF">
<a name="here"></a>
<img src="badtban.gif">
<pre>
<font size=5>Class Name</font> bad_typeid
<font size=5>Header File</font> <typeinfo>
<font size=5>Classification</font> Runtime Object Identification
</pre>
<a href="badid.htm#crd">Class Relationship Diagram</a><br>
<br>
<a href="badid.htm#class-descrip">Class Description</a>
<h1>Member Classes</h1>
<p>
None
</p>
<h1>Methods</h1>
<pre>
<a href="badid.htm#bad-typeid1">bad_typeid() throw();</a>
<a href="badid.htm#bad-typeid2">bad_typeid(const bad typeid&) throw();</a>
<a href="badid.htm#~bad-typeid">virtual ~bad_typeid() throw();</a>
<a href="badid.htm#what">virtual const char* what() const throw();</a>
</pre>
<h1>Operators</h1>
<pre>
<a href="badid.htm#operator=">bad_typeid& operator=(const bad_typeid&) throw();</a>
</pre>
<hr>
<a name="class-descrip"><h3>Class Description</h3>
<p>
The bad_typeid class describes an object type thrown as a exception
when a null pointer is used in a <a href="defines.htm#typeid">typeid</a>
expression.
</a>
<hr>
<pre>
<a name="bad-typeid1">
Method bad_typeid()</a>
Access Public
Classification Constructor
Syntax bad_typeid() throw();
Parameters None
Returns None
</pre>
<h3>Description</h3>
<p>
This constructor constructs a bad_typeid object.
</p>
<hr>
<pre>
<a name="bad-typeid2">
Method bad_typeid()</a>
Access Public
Classification Constructor
Syntax bad_typeid(const bad_typeid& x) throw();
Parameters <em>x</em> is a reference to a the bad_typeid object
in which the newly constructed object is a copy.
Returns None
</pre>
<h3>Description</h3>
<p>
This constructor constructs a bad_typeid object that is a copy of <em>x</em>.
</p>
<hr>
<pre>
<a name="~bad-typeid">
Method bad_typeid()</a>
Access Public
Classification Destructor
Syntax ~bad_typeid() throw();
Parameters None
Returns None
</pre>
<h3>Description</h3>
<p>
The destructor destroys a bad_typeid object.
</p>
<hr>
<pre>
<a name="what">
Method what()</a>
Access Public
Classification Accessor
Syntax virtual const char* what() const throw();
Parameters None
Returns This method returns a pointer to a message.
</pre>
<h3>Description</h3>
<p>
The what() method returns a message determined by the implementor.
</p>
<hr>
<pre>
<a name="operator=">
Method operator=()</a>
Access Public
Classification Modifier
Syntax bad_typeid& operator=(const bad_typeid& x) throw();
Parameters <em>x</em> is a reference to a the bad_typeid object
in which the newly constructed object is a copy.
Returns This operator returns a pointer to the current object.
</pre>
<h3>Description</h3>
<p>
The assignment operator assigns the bad_typeid object <em>x</em> to the current
object.
</p>
<hr>
<a name="crd"><h2>The Class Relationship Diagram for bad_typeid</h2></a>
<img src="badid.gif">
<hr>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -