Add STL container copy constructors where missing
Also provide consistent copy constructor declarations.
This commit is contained in:
parent
dc34c39c53
commit
6d27ead9c0
36 changed files with 72 additions and 43 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue