Click here to Skip to main content
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

, , 6 Dec 2013
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.
LibraryCrossing.zip
LibraryCrossing
ExecutableConsumer
ExecutableConsumer.vcxproj.filters
LibraryFactory
LibraryFactory.vcxproj.filters

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

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