
23 Dec
2010
23 Dec
'10
9:28 a.m.
I am looking for the code that enables me to do the following with Boost.Array: boost::array<unsigned int,16> tmp = { { 4, 4, 4, 4, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1 } }; I would like to learn how to do this. I have need to easily initialize a 4x4 grid with data. Stephen