[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]

C++ unimplemented "delete foo;" suggestion

How about:

#define DELETE(sptr) (sptr.delete())

And have the translator translate

	foo delete.



?  SPTRs would define a "delete()" method that would do a real delete
on their internal pointer.  This should be a much less ugly way to get
around the C++ unimplemented cases than introducing a temporary wimpy
variable.  What do y'all think?