diff --git a/array/sarray.hpp b/array/sarray.hpp index 52f6bfc8..2ddc60da 100644 --- a/array/sarray.hpp +++ b/array/sarray.hpp @@ -23,6 +23,12 @@ namespace cruft { template class sarray { public: + //--------------------------------------------------------------------- + sarray (sarray const &rhs) + : sarray (cruft::view (rhs)) + { ; } + + //--------------------------------------------------------------------- sarray (T const &data) : sarray (&data, &data + 1)