|
From: | Peter Johansson |
Subject: | Re: implement workaround for header files |
Date: | Tue, 11 Jun 2013 09:15:43 +1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130108 Thunderbird/10.0.12 |
On 06/10/2013 03:41 AM, Gavin Smith wrote:
Do users of your library have to use what is declared in <boost/exception_ptr.hpp>; equivalently, do they have to include this file to use your library? If not, there wouldn't be a problem - the source for your library could include an alternative header file, but it wouldn't have to be installed - it is only needed when the library itself is compiled.
Hi Gavin,Yes, unfortunately the boost header file is included in an installed header file. The functionality is not used by users directly though, but inclusion is required because the Class holds a private 'boost::mutex'. I could probably have changed that by hiding the members in a pimpl pattern. But I've already implemented a fix that installs the patched header files and uses the original header file if possible
http://dev.thep.lu.se/yat/changeset?reponame=&new=3045%40trunk%2Fyat%2Futility%2Fboost_exception_ptr.h&old=3044%40trunk%2Fyat%2Futility%2Fboost_exception_ptr.h Cheers, Peter
[Prev in Thread] | Current Thread | [Next in Thread] |