Re: Code guidelines, state of C++ compilers used, and general C++ comments
Subject: Re: Code guidelines, state of C++ compilers used, and general C++ comments
From: Leonard Rosenthol (leonardr@lazerware.com)
Date: Mon May 08 2000 - 21:01:02 CDT
- sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
- Next message: Leonard Rosenthol: "Re: Code guidelines, state of C++ compilers used, and general C++ comments"
- Previous message: sam th: "Re: hj focus fix patch."
- In reply to: Justin Bradford: "Re: Code guidelines, state of C++ compilers used, and general C++ comments"
- Next in thread: Mike Nordell: "Re: Code guidelines, state of C++ compilers used, and general C++ comments"
- Next in thread: Mike Nordell: "Re: Code guidelines, state of C++ compilers used, and general C++comments"
- Next in thread: sam th: "Re: Code guidelines, state of C++ compilers used, and general C++ comments"
- Reply: Leonard Rosenthol: "Re: Code guidelines, state of C++ compilers used, and general C++ comments"
- Reply: Mike Nordell: "Re: Code guidelines, state of C++ compilers used, and general C++ comments"
At 8:04 PM -0500 5/8/00, Justin Bradford wrote:
>
>The DELETEP/FREEP macros also set the variable to NULL.
>I believe the current implementation is something like:
>#define DELETEP(s) do { if (s) delete(s); (s) = NULL; } while (0)
Shouldn't be we using good C++ coding techniques and using
"inlines" instead of #defines??
Leonard
--
----------------------------------------------------------------------------
You've got a SmartFriend in Pennsylvania
----------------------------------------------------------------------------
Leonard Rosenthol Internet: leonardr@lazerware.com
America Online: MACgician
Web Site: <http://www.lazerware.com/>
FTP Site: <ftp://ftp.lazerware.com/>
PGP Fingerprint: C76E 0497 C459 182D 0C6B AB6B CA10 B4DF 8067 5E65
- Next message: Leonard Rosenthol: "Re: Code guidelines, state of C++ compilers used, and general C++ comments"
- Previous message: sam th: "Re: hj focus fix patch."
- In reply to: Justin Bradford: "Re: Code guidelines, state of C++ compilers used, and general C++ comments"
- Next in thread: Mike Nordell: "Re: Code guidelines, state of C++ compilers used, and general C++ comments"
- Next in thread: Mike Nordell: "Re: Code guidelines, state of C++ compilers used, and general C++comments"
- Next in thread: sam th: "Re: Code guidelines, state of C++ compilers used, and general C++ comments"
- Reply: Leonard Rosenthol: "Re: Code guidelines, state of C++ compilers used, and general C++ comments"
- Reply: Mike Nordell: "Re: Code guidelines, state of C++ compilers used, and general C++ comments"
This archive was generated by hypermail 2b25
: Mon May 08 2000 - 21:22:52 CDT