/* example for using class array<> * (C) Copyright Nicolai M. Josuttis 2001. * Distributed under the Boost Software License, Version 1.0. (See * accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) */ #include #include #include #include #include int main() { // array of arrays of seasons boost::array,2> seasons_i18n = { { { { "spring", "summer", "autumn", "winter", } }, { { "Fruehling", "Sommer", "Herbst", "Winter" } } } }; // for any array of seasons print seasons for (unsigned i=0; i seasons = seasons_i18n[i]; for (unsigned j=0; j