Boost logo

Boost Users :

Subject: [Boost-users] shared_ptr binary compatibility
From: pcayouette (pcayouette_at_[hidden])
Date: 2009-06-11 13:23:37


Are shared_ptr binary compatible through boost versions?

Example:

Imagine a "Producer" class that sends shared_ptr to a "Consumer" class. Now
imagine an executable that instanciate a Producer and a shared library (.dll
or .so) that instanciate a Consumer. The executable is built with boost
v1.xx. The shared library is built with boost v1.yy.

If xx == yy, obviously there will be no problem since the version of the
shared_ptr is the same.

However if xx != yy, there might be a problem since the version of the
shared_ptr might be binary imcompatible.

Thanks,

Philippe Cayouette

-- 
View this message in context: http://www.nabble.com/shared_ptr-binary-compatibility-tp23985635p23985635.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