darray: add defaulted copy constructors and assignment operators

This commit is contained in:
Danny Robson 2018-11-07 16:04:03 +11:00
parent 79edea8f2d
commit d73c33c4bd

View File

@ -30,6 +30,11 @@ namespace cruft {
using const_iterator = const_pointer;
darray (): m_size (0) { ; }
darray (darray const&) = default;
darray (darray &&) = default;
darray& operator= (darray const&) = default;
darray& operator= (darray &&) = default;
~darray ()
{