Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] Registering/exporting shared_ptr<T> in a library
From: Martin Weinberg (martin.weinberg_at_[hidden])
Date: 2013-12-28 19:43:33


I'm inlining some example code. Compile with CXXFLAGS=-DIN_LIBRARY for the
problematic behavior and working version without IN_LIBRARY defined. Then
run "test".

Makefile <http://boost.2283326.n4.nabble.com/file/n4657106/Makefile>

TestClasses.H
<http://boost.2283326.n4.nabble.com/file/n4657106/TestClasses.H>

TestClasses.cc
<http://boost.2283326.n4.nabble.com/file/n4657106/TestClasses.cc>

test.cc <http://boost.2283326.n4.nabble.com/file/n4657106/test.cc>

test2.cc <http://boost.2283326.n4.nabble.com/file/n4657106/test2.cc>

--
View this message in context: http://boost.2283326.n4.nabble.com/serialization-Registering-exporting-shared-ptr-T-in-a-library-tp4657103p4657106.html
Sent from the Boost - Users mailing list archive at Nabble.com.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net