Add super_type:: so 2-phase lookup works right

[SVN r16378]
This commit is contained in:
Beman Dawes
2002-11-23 18:17:43 +00:00
parent 8387e84d8f
commit e5909ce409
4 changed files with 36 additions and 36 deletions

View File

@@ -143,7 +143,7 @@ public:
sub_array<T,NumDims>& rhs) :
super_type(rhs) {
allocate_space();
std::copy(rhs.begin(),rhs.end(),begin());
std::copy(rhs.begin(),rhs.end(),super_type::begin());
}
// Since assignment is a deep copy, multi_array_ref