Project

General

Profile

« Previous | Next » 

Revision e3ee05b8

Added by skyjake over 11 years ago

libdeng2: Trying out a DENG2_PRIVATE compatible with old compilers

std::auto_ptr<> with an undefined struct is not tolerated by some
compilers. Now DENG2_PRIVATE uses a custom PrivateAutoPtr class that
reinterprets the unknown instance type as an IPrivate when deleting.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences