home *** CD-ROM | disk | FTP | other *** search
- Since the operand of the delete operator is a pointer, the
- compiler cannot always detect whether or not the object being
- deleted is an array. For this reason, you should always include
- the square brackets, as shown here, when deleting an object that
- is an array. Use this form of the delete operator for all objects
- created with square brackets in the corresponding call of the new
- operator.
-