Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2003-04-18 10:06:47


On Fri, 18 Apr 2003 20:21:39 +0800, "jacon wang"
<jkwang_at_[hidden]> wrote:

>Example1:(With Internal Compiler Error)
>#include <iostream>
>#include <string>
>#include <boost\dynamic_bitset.hpp>
                ^

Be careful. The backslash leads you straight to undefined behavior.

>using std::cout;
>using std::endl;
>boost::dynamic_bitset<char> g_bs;//!!!!!!!!!!!!!!!!!!!!!!!!Here

Fortunately, the error doesn't occur if you use unsigned char (please,
read the documented type requirements).

Genny.


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