mirror of
https://github.com/boostorg/multi_array.git
synced 2026-01-26 06:42:21 +00:00
Forgot to commit this file along with the other revisions allowing default
constructed multi_arrays [SVN r18220]
This commit is contained in:
@@ -83,6 +83,11 @@ public:
|
||||
typedef boost::detail::multi_array::multi_array_view<T,NDims> type;
|
||||
};
|
||||
|
||||
explicit multi_array() :
|
||||
super_type((T*)initial_base_) {
|
||||
allocate_space();
|
||||
}
|
||||
|
||||
template <class ExtentList>
|
||||
explicit multi_array(ExtentList const& extents) :
|
||||
super_type((T*)initial_base_,extents) {
|
||||
|
||||
Reference in New Issue
Block a user