/* simple example for using class array<> * * Changelog: * 20 Jan 2001 - Removed boolalpha use since stock GCC doesn't support it * (David Abrahams) */ #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