Click here to Skip to main content
11,411,922 members (60,302 online)
Click here to Skip to main content
Add your own
alternative version

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

, , 26 Aug 2014 MIT
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.

Revisions


  

Compare Revision Minor Date Status Editor
15 - publicly available No 26-Aug-14 12:00 Available Sean Ewington
Updates in content.
14 No 26-Aug-14 10:56 Pending Philippe Cayouette
Changed the zip file and POI.
11 No 6-Dec-13 5:17 Available Smitha Vijayan
Updates in content.
10 No 5-Dec-13 23:04 Pending Philippe Cayouette
Changed "partial specialization" to just "specialization".
9 No 3-Jun-13 10:31 Available Sean Ewington
Updates in content.
8 No 3-Jun-13 9:07 Pending Philippe Cayouette
typos.
7 No 24-May-13 16:17 Available Sean Ewington
Updates in content.
6 No 24-May-13 15:17 Pending Philippe Cayouette
Updates in content. 1 changes had been made.
5 No 24-May-13 12:39 Available Smitha Vijayan
Updates in content.
4 No 24-May-13 12:25 Pending Philippe Cayouette
Updates in content. 33 changes had been made.
3 No 22-May-13 18:23 Available Smitha Vijayan
Updates in content. 7 changes had been made.
2 No 22-May-13 15:53 Pending Philippe Cayouette
Updates in content. 41 changes had been made.
1 No 22-May-13 15:45 Pending Philippe Cayouette
Initial creation

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

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