Boost logo

Boost Users :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2007-10-11 05:46:36


John Femiani skrev:
>
> I am using g++ (GCC) 3.4.2 (mingw-special) and when I use the namespace
> boost::fusion it causes boost range to break.
>
> Consider the toy program 'main.cpp', which is attached and also listed
> below:
>
> -----------------------------------------------------------------------
>
> #include <iostream>
>
> using namespace std;
>
> #include <boost/fusion/sequence/container/vector.hpp>
> #include <boost/range.hpp>
> #include <list>
>
> int main()
> {
> using namespace boost::fusion;
> using namespace boost;

Please don't do this. If you really think it is too much to write
boost::, use

namespace b = boost;
namespace bf = boost::fusion;

-Thorsten


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