From 73698a7bc263b814f69ea8274a2e96d375fc4eb8 Mon Sep 17 00:00:00 2001 From: Ronald Garcia Date: Wed, 9 Apr 2003 13:53:16 +0000 Subject: [PATCH] Forgot to commit this file along with the other revisions allowing default constructed multi_arrays [SVN r18220] --- include/boost/multi_array.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/boost/multi_array.hpp b/include/boost/multi_array.hpp index 36fdc31..43a121f 100644 --- a/include/boost/multi_array.hpp +++ b/include/boost/multi_array.hpp @@ -83,6 +83,11 @@ public: typedef boost::detail::multi_array::multi_array_view type; }; + explicit multi_array() : + super_type((T*)initial_base_) { + allocate_space(); + } + template explicit multi_array(ExtentList const& extents) : super_type((T*)initial_base_,extents) {