P
PGK
If I use std::map with pointer values, can I assume they will have an
initial value of zero, when I use the [] operator on a key that
doesn't exist? For example, will this:
map<int, fstream *> m;
cout << m[123];
always output a zero/NULL/0?
Thanks,
Paul
initial value of zero, when I use the [] operator on a key that
doesn't exist? For example, will this:
map<int, fstream *> m;
cout << m[123];
always output a zero/NULL/0?
Thanks,
Paul