⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lists.objlist.constructors.html

📁 PTypes (C++ Portable Types Library) is a simple alternative to the STL that includes multithreading
💻 HTML
字号:
<html><!-- #BeginTemplate "/Templates/tmpl.dwt" --><head><!-- #BeginEditable "doctitle" --> <title>PTypes: lists: objlist: constructors/destructors</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="lists.html">Lists</a>: <a href="lists.objlist.html">objlist</a>: Constructors/destructors</p><blockquote> <pre class="lang">#include &lt;ptypes.h&gt;objlist::objlist();objlist::objlist(bool ownobjects);virtual objlist::~objlist();</pre></blockquote><p><span class="def">objlist::objlist()</span> -- the default constructor, creates an object list which does not own objects.</p><p><span class="def">objlist::objlist(bool ownobjects)</span> -- with this constructor the caller can explicitly specify whether the list owns objects. This feature is set only during construction of an object list and can not be changed later.</p><p><span class="def"> objlist::~objlist()</span> -- frees the dynamic array. The member objects are destroyed only if the list was created with <span class="lang">ownobjects</span> parameter set to true.</p><p class="seealso">See also: <a href="lists.objlist.manipulation.html">Manipulation</a></p><!-- #EndEditable --><hr size="1"><a href="../index.html" class="ns">PTypes home</a></body><!-- #EndTemplate --></html>

⌨️ 快捷键说明

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