|
Boost Users : |
Subject: Re: [Boost-users] Problem with gcc/4.5.0-g++and boost::function
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-04-01 10:16:38
AMDG
On 04/01/2011 01:09 AM, Shah, Gaurav N wrote:
> Thanks Andreas Wehrmann.
> if worked after including boost/function.hpp.
>
> I am still wondering what changes boost has made while moving from 1.41 to 1.44 that has made users to explicitly include "function.hpp" This code was compiling with 1.41 without including boost/function.hpp
>
If it didn't #include boost/function.hpp, then
it was incorrect to begin with. You can't
depend on headers being implicitly included.
It may happen to work, but we make no guarantees
that it will continue to work in any future version.
In Christ,
Steven Watanabe
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