question about initial values
Ok, another question for the Standards weenies...
I'm pretty sure I know the answer (A) but I'm gonna ask anyways.
given...
std::vector<int *> Vec(1);
Vec is constructed using:
vector(size_type n,
value_type const & value = value_type(),
allocator_type const & allocator = allocator_type());
is the value of Vec[0] = ?
(A) undefined
(B) null/0
This is more easily phrased as "what is the value of a default constructed pointer when constructor syntax is explicitly used?"