On many platforms, such cross-DLL
delete pairs lead to runtime errors.
- 4. Designs and Declarations
- from Effective C++: 55 Specific Ways to Improve Your Programs and Designs, Third Edition
- Publisher: Addison-Wesley Professional
- Released: May 2005
AFAIK, this is safe on all modern platforms, as long as a consistent toolchain is used to build all DLLs.
Share this highlighthttp://www.safaribooksonline.com/a/effective-c-55/2336763/