2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-10 11:52:21 +00:00

map_array like std::map should be default constructed

svn path=/trunk/boost/libs/numeric/ublas/; revision=24887
This commit is contained in:
Michael Stevens
2004-09-03 09:18:56 +00:00
parent b8dca2ab33
commit c750127ea5

View File

@@ -18,7 +18,7 @@
int main () {
using namespace boost::numeric::ublas;
map_array<int, double> a (3);
map_array<int, double> a;
for (unsigned i = 0; i < a.size (); ++ i) {
a [i] = i;
std::cout << a [i] << std::endl;