Commit e9172b26 authored by Kirill Terekhov's avatar Kirill Terekhov

assign function for mesh data in arrays

parent f2e931f5
......@@ -515,6 +515,11 @@ namespace INMOST
while(it != last) new (m_arr+d+i++) element(*it++);
}
}
template <class InputIterator>
void assign(InputIterator first, InputIterator last)
{
replace(begin(),end(),first,last);
}
template<class> friend class shell;
};
#if defined(PACK_ARRAY)
......@@ -956,6 +961,11 @@ namespace INMOST
while(it != last) new ((*m_arr)+d+i++) element(*it++);
}
}
template <class InputIterator>
void assign(InputIterator first, InputIterator last)
{
replace(begin(),end(),first,last);
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment