Boost logo

Boost Users :

From: Fujinobu Takahashi (fjtaka_at_[hidden])
Date: 2005-09-03 21:13:17


Hello Bronek-san,

YATTA!
Multi bitsets Works very well.

Very helpful suggestion for me and our colleagues.
ARIGATOU GOZAIMASU.

Fuji

On Sat, 03 Sep 2005 22:33:32 +0100
Bronek Kozicki <brok_at_[hidden]> wrote:

> Hello
>
> your constructor is incorrectly defined. Following should work:
>
> #include <iostream>
> #include <boost/timer.hpp>
> #include <boost/dynamic_bitset.hpp>
> using namespace std;
> using namespace boost;
>
> struct multi_bitsets{
> multi_bitsets() : db1(10,1ul), db2(10,2ul) {}
> dynamic_bitset<> db1;
> dynamic_bitset<> db2;
> };
>
> int main()
> {
> multi_bitsets mb1;
> cout << "mb1.db1:" << mb1.db1 << endl;
> cout << "mb1.db2:" << mb1.db2 << endl;
> }
>
>
> Best regards
>
>
> B.


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