bitset declaration in class
Hi,
i've got some problems with the declaration of a bitset container in my class
i've got a class A and want to have a bitset container in it, whose size just get's defined when running an instance of this class:
1 2 3 4 5 6 7 8 9 10
|
#include <bitset>
class A
{
bitset <n> bc;
A(int n) : n(n) {};
};
|
something like that. i hope somebody know how o solve this problem
Topic archived. No new replies allowed.