A Special Note for Boost 1.52.0 and Higher - how this affects me?
Hi, I've just read the Special Note for Boost 1.52.0 and Higher. I must say that I don't fully understand what's going on and how this affects me. I'm using some of Boost's libraries with gcc on Ubuntu. Most often it's gcc 4.4.3, sometimes 4.6.3 but without C++0x mode. Does the change in boost::result_of affect me in any way? Can it make my code fail to compile or make it behave in a different way than before? I just don't understand whether a switch from Boost 1.51.0 to 1.52.0 may do any harm to my code. WBR, Adam Romanek
On 14/11/12 08:29, Adam Romanek wrote:
Does the change in boost::result_of affect me in any way? Can it make my code fail to compile or make it behave in a different way than before?
Yes.
I just don't understand whether a switch from Boost 1.51.0 to 1.52.0 may do any harm to my code.
If your code is well-written, it shouldn't.
On 11/13/2012 11:29 PM, Adam Romanek wrote:
Hi,
I've just read the Special Note for Boost 1.52.0 and Higher. I must say that I don't fully understand what's going on and how this affects me.
The note tells you where to go if you want to learn more: http://www.boost.org/doc/libs/1_52_0/libs/utility/utility.htm#result_of
I'm using some of Boost's libraries with gcc on Ubuntu. Most often it's gcc 4.4.3, sometimes 4.6.3 but without C++0x mode.
Does the change in boost::result_of affect me in any way? Can it make my code fail to compile or make it behave in a different way than before?
Only you can answer that. You must read the docs for result_of and consider your code's usage of result_of.
I just don't understand whether a switch from Boost 1.51.0 to 1.52.0 may do any harm to my code.
Your code can potentially stop compiling until you fix the invalid usages of result_of. The docs tell you under what circumstances this can happen, and what to do to fix it. -- Eric Niebler BoostPro Computing http://www.boostpro.com
participants (3)
-
Adam Romanek
-
Eric Niebler
-
Mathias Gaunard