2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-22 03:42:19 +00:00

map_array like std::map should be default constructed

This commit is contained in:
Michael Stevens
2004-09-03 09:18:56 +00:00
parent b94aa1f65b
commit 83cc842720

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;