$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Pavol Droba (droba_at_[hidden])
Date: 2004-09-06 07:28:15
Hi,
On Mon, Sep 06, 2004 at 12:33:54PM +0100, Llew Sion Goodstadt wrote:
>
> There seems to be a bug somewhere in
>
> #include <boost/algorithm/string.hpp>
>
> If I am not mistaken, this is the central include
> file for all the string algorithms.
> But if, e.g. in replace_example.hpp,
>
> you replace the separate declarations of
>
> #include <boost/algorithm/string/replace.hpp>
> #include <boost/algorithm/string/erase.hpp>
> #include <boost/algorithm/string/case_conv.hpp>
>
> with
>
> //#include <boost/algorithm/string/replace.hpp>
> //#include <boost/algorithm/string/erase.hpp>
> //#include <boost/algorithm/string/case_conv.hpp>
> #include <boost/algorithm/string.hpp>
>
> the file no longer compiles.
>
>
> However,
>
> #include <boost/algorithm/string/replace.hpp>
> //#include <boost/algorithm/string/erase.hpp>
> //#include <boost/algorithm/string/case_conv.hpp>
> #include <boost/algorithm/string.hpp>
>
> does work. Is there an error in the order of header inclusion?
>
Can you elaborate a little bit more? I have tried it with vc7.1 and gcc and it works fine.
What platform are you using? and what is the compiler output whan
it fails?
Regards,
Pavol