J
Javier
Hello,
thanks for the replies to my questions.
I have one more:
class A
{
public:
m1() const;
m2();
};
is there any difference between
std::vector<const A> v;
const std::vector<A> v;
const std::vector<const A> v;
and, what about:
A a1;
v.push_back(a1);
v[0].m1()
v[0].m2()
in the three cases?
thanks for the replies to my questions.
I have one more:
class A
{
public:
m1() const;
m2();
};
is there any difference between
std::vector<const A> v;
const std::vector<A> v;
const std::vector<const A> v;
and, what about:
A a1;
v.push_back(a1);
v[0].m1()
v[0].m2()
in the three cases?