Boost logo

Boost :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2005-05-02 10:36:43


On Apr 14, 2005, at 2:34 PM, Sebastian Pfützner wrote:

> Hello,
> is the following code correct?

Yes.

>
> #include <boost/logic/tribool.hpp>
>
> using namespace boost;
> using namespace boost::logic;
>
> int main()
> {
> tribool tb;
> tribool &rtb = tb;
>
> rtb = indeterminate;
> }
>
>
> My Visual C++ Compiler 7.1 says "INTERNAL COMPILER ERROR".
> If i comment out "using namespace boost;" everything works fine...

What if you comment out "using namespace boost::logic" ? tribool and
interminate are imported into namespace boost via a using declaration,
which is probably the cause of the internal compiler error.

        Doug


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk