qualify array to avoid conflict with std::array; Refs #5233

[SVN r69291]
This commit is contained in:
Marshall Clow
2011-02-26 01:35:48 +00:00
parent 5072c551ec
commit 111e93aa4c

View File

@ -15,12 +15,11 @@
#include <boost/array.hpp> #include <boost/array.hpp>
#include "print.hpp" #include "print.hpp"
using namespace std; using namespace std;
using namespace boost;
int main() int main()
{ {
// create and initialize array // create and initialize array
array<int,10> a = { { 1, 2, 3, 4, 5 } }; boost::array<int,10> a = { { 1, 2, 3, 4, 5 } };
print_elements(a); print_elements(a);