Ticket #5233: array_test.patch
File array_test.patch, 492 bytes (added by , 12 years ago) |
---|
-
libs/array/test/array2.cpp
15 15 #include <boost/array.hpp> 16 16 #include "print.hpp" 17 17 using namespace std; 18 using namespace boost;19 18 20 19 int main() 21 20 { 22 21 // create and initialize array 23 array<int,10> a = { { 1, 2, 3, 4, 5 } };22 boost::array<int,10> a = { { 1, 2, 3, 4, 5 } }; 24 23 25 24 print_elements(a); 26 25