W
www.brook
hi, I have a class
class A
{
const int m_a;
const int m_b[2];
}
m_a can be initialized at the constructor
A():m_a(2)
{
}
But how do I do the same thing to m_b? I know one of the possible
solutions is to use vector<int> for b instead of using direct array.
But I am just curious
Thanks
class A
{
const int m_a;
const int m_b[2];
}
m_a can be initialized at the constructor
A():m_a(2)
{
}
But how do I do the same thing to m_b? I know one of the possible
solutions is to use vector<int> for b instead of using direct array.
But I am just curious
Thanks