mirror of
https://github.com/boostorg/multi_array.git
synced 2025-05-11 21:33:52 +00:00
Forgot to commit this file along with the other revisions allowing default
constructed multi_arrays [SVN r18220]
This commit is contained in:
parent
e35e6102b7
commit
73698a7bc2
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user