|
Boost Users : |
From: Evgeny Yashin (johny5_at_[hidden])
Date: 2006-11-15 09:54:37
Hi guys.
Just started to use library, and..
#include "boost/multi_array.hpp"
void f()
{
boost::multi_array<int, 2> arr;
arr.resize( boost::extents[2][2] );
}
Why so many warnings (5 warnings)??
warning C4267: '=' : conversion from 'size_t' to
'boost::const_multi_array_ref<T,NumDims,TPtr>::index', possible loss of data
....
Can it be fixed?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net