/* simple example for using class array<> */ #include #include int main() { // define special type name typedef boost::array Array; // create and initialize an array Array a = { { 42 } }; // access elements for (unsigned i=1; i