2009/11/17 Ian Lance Taylor: > > I don't really understand how this interacts with std::tr1:array, > though.
For it to be a more convenient drop-in replacement for builtin arrays
you want to initialise tr1::array like so:
std::tr1::array<int> a = { 0, 1, 2 };
rather than
std::tr1::array<int> a = { { 0, 1, 2 } };
but the former gives the warning.
