Add STL container copy constructors where missing

Also provide consistent copy constructor declarations.
This commit is contained in:
William S Fulton 2019-02-14 18:53:05 +00:00
commit 6d27ead9c0
36 changed files with 72 additions and 43 deletions

View file

@ -28,8 +28,8 @@ namespace std {
carray() { }
carray(const carray& c) {
std::copy(c.v, c.v + size(), v);
carray(const carray& other) {
std::copy(other.v, other.v + size(), v);
}
template <class _Iterator>