Boost logo

Boost Users :

Subject: Re: [Boost-users] A Special Note for Boost 1.52.0 and Higher - how this affects me?
From: Eric Niebler (eric_at_[hidden])
Date: 2012-11-15 14:35:14


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

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