
2 May
2005
2 May
'05
3:36 p.m.
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