
I just did an upgrade from 1.33.1 to 1.35.0 and got bit by the BOOST_ALL_DYN_LINK et al macros. Anyways at http://www.boost.org/doc/libs/1_35_0/libs/filesystem/doc/index.htm#Build ing there is a reference to http://www.boost.org/more/separate_compilation.html explaining the macros, which does not exist. Any idea where this link should be as I am would be curious to read up on these macros. John Reynolds Aircraft Management Technologies Limited Registered in Ireland, No.337561 Registered office: 1 The Green, Malahide, Co.Dublin, Ireland Tel: + 353 1 8061000 Fax:+ 353 1 8061025 John.Reynolds@airmantech.com / John.Reynolds@flightman.com www.airmantech.com / www.flightman.com THE INFORMATION IN THIS E-MAIL IS CONFIDENTIAL AND MAY BE LEGALLY PRIVILEGED. IT IS INTENDED SOLELY FOR THE ADDRESSEE. ACCESS TO THIS E-MAIL BY ANYONE ELSE IS UNAUTHORISED. IF YOU ARE NOT THE INTENDED RECIPIENT, ANY DISCLOSURE, COPYRIGHT, DISTRIBUTION OR ANY ACTION TAKEN OR OMITTED TO BE TAKEN IN RELIANCE ON IT, IS PROHIBITED AND MAY BE UNLAWFUL.

John Reynolds wrote:
I just did an upgrade from 1.33.1 to 1.35.0 and got bit by the BOOST_ALL_DYN_LINK et al macros.
Anyways at http://www.boost.org/doc/libs/1_35_0/libs/filesystem/doc/index.htm#Build ing there is a reference to http://www.boost.org/more/separate_compilation.html explaining the macros, which does not exist. Any idea where this link should be as I am would be curious to read up on these macros.
It's at: http://www.boost.org/development/separate_compilation.html, I've just committed a fix for the Broken link to SVN Trunk BTW. HTH, John.

Hi all,
I'm currently using large parts of booos::mpl and boost::fusion in a
large project. Alas, I keep triggering some unwanted ADL betwenn some of
my code and mpl code.
Here is a simplified but significant code that showcases the problem :
#include <iostream>
#include
error: 'template<class Sequence> struct boost::mpl::size' is not a function error: conflict with 'template
int bar::foo::size(const bar::foo::some_class &)' error: in call to 'size'
What can I do to prevent this ADL while not forcing the client code to explicitely write bar::size(g) ? Thanks in advance -- Joel FALCOU Research Engineer @ Institut d'Electronique Fondamentale Université PARIS SUD XI France

AMDG Joel FALCOU wrote:
Hi all,
I'm currently using large parts of booos::mpl and boost::fusion in a large project. Alas, I keep triggering some unwanted ADL betwenn some of my code and mpl code. <snip>
What can I do to prevent this ADL while not forcing the client code to explicitely write bar::size(g) ?
Thanks in advanc
To my knowledge there is no way to block ADL without changing MPL. (I assume that you want ADL for your size function) In Christ, Steven Watanabe

Steven Watanabe a écrit :
To my knowledge there is no way to block ADL without changing MPL. (I assume that you want ADL for your size function)
Foudn it the hard way. I think MPL just need to use its ADL barrier around meta-functions too to prevent such behavior. Maybe it's worth some bug report or features request. Anyway, I found a decent workaround to prevent the passing of mpl types in my templates argument list. So problem solved. Thanks again -- Joel FALCOU Research Engineer @ Institut d'Electronique Fondamentale Université PARIS SUD XI France

On 01/05/2008, John Maddock
John Reynolds wrote:
Anyways at http://www.boost.org/doc/libs/1_35_0/libs/filesystem/doc/index.htm#Build ing there is a reference to http://www.boost.org/more/separate_compilation.html explaining the macros, which does not exist.
It's at: http://www.boost.org/development/separate_compilation.html,
I've just committed a fix for the Broken link to SVN Trunk BTW.
I've also fixed the redirect for the page, so the link should work now. Daniel
participants (5)
-
Daniel James
-
Joel FALCOU
-
John Maddock
-
John Reynolds
-
Steven Watanabe