Click here to Skip to main content
11,707,470 members (74,114 online)
Click here to Skip to main content
Alternatives

How to ensure proper dynamic library boundary crossing for objects using smart pointers' custom deleters

, , 26 Aug 2014 MIT 16K 284 27
Ensuring that objects allocated in one dynamic library are deleted by the same library has always been a challenge. Solutions prior to the advent of C++11 often make the usage of the library cumbersome. This is a solution using smart pointers' custom deleters.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The MIT License

Share

About the Authors

Philippe Cayouette
Software Developer (Senior) CAE Inc.
Canada Canada
No Biography provided

Sebastien Gibeau
Software Developer (Senior)
Canada Canada
No Biography provided

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.150819.1 | Last Updated 26 Aug 2014
Article Copyright 2013 by Philippe Cayouette, Sebastien Gibeau
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid