Hello!
I thought, value_types for standard containers had to be assignable,
thus excluding const objects. However, VC++ 7.1 compiles the following
code without any complaints, even with the /Za - Option.
What am I missing?
#include <list>
int main () {
std::list<const int> l2;
l2.push_back(1);
*l2.begin() = 3;
return 0;
}