Click here to Skip to main content
Click here to Skip to main content
Alternatives
Go to top

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

, , 26 Aug 2014
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 | Mobile
Web04 | 2.8.140916.1 | Last Updated 26 Aug 2014
Article Copyright 2013 by Philippe Cayouette, Sebastien Gibeau
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid