darray: add defaulted copy constructors and assignment operators
This commit is contained in:
parent
79edea8f2d
commit
d73c33c4bd
@ -30,6 +30,11 @@ namespace cruft {
|
|||||||
using const_iterator = const_pointer;
|
using const_iterator = const_pointer;
|
||||||
|
|
||||||
darray (): m_size (0) { ; }
|
darray (): m_size (0) { ; }
|
||||||
|
darray (darray const&) = default;
|
||||||
|
darray (darray &&) = default;
|
||||||
|
|
||||||
|
darray& operator= (darray const&) = default;
|
||||||
|
darray& operator= (darray &&) = default;
|
||||||
|
|
||||||
~darray ()
|
~darray ()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user