Commit cc14cdac authored by Martin Reinecke's avatar Martin Reinecke
Browse files


parent 59ed1b7e
Pipeline #72985 failed with stages
in 8 minutes and 38 seconds
......@@ -160,12 +160,12 @@ template<typename T> class fmav: public fmav_info, public membuf<T>
: fmav_info(info), membuf<T>(d_) {}
fmav(const fmav &other) = default;
#if defined(_MSC_VER)
fmav(fmav &other)
: fmav_info(other), membuf(other) {}
fmav(fmav &other) : fmav_info(other), membuf<T>(other) {}
fmav(fmav &&other) : fmav_info(other), membuf<T>(other) {}
fmav(fmav &other) = default;
fmav(fmav &&other) = default;
fmav(membuf<T> &buf, const shape_t &shp_, const stride_t &str_)
: fmav_info(shp_, str_), membuf<T>(buf) {}
fmav(const membuf<T> &buf, const shape_t &shp_, const stride_t &str_)
......@@ -332,11 +332,12 @@ template<typename T, size_t ndim> class mav: public mav_info<ndim>, public membu
: mav_info<ndim>(shp_), membuf<T>(size()) {}
mav(const mav &other) = default;
#if defined(_MSC_VER)
mav(mav &other): mav_info(other), membuf(other) {}
mav(mav &other): mav_info<ndim>(other), membuf<T>(other) {}
mav(mav &&other): mav_info<ndim>(other), membuf<T>(other) {}
mav(mav &other) = default;
mav(mav &&other) = default;
mav(const shape_t &shp_, const stride_t &str_, const T *d_, membuf<T> &mb)
: mav_info<ndim>(shp_, str_), membuf<T>(d_, mb) {}
mav(const shape_t &shp_, const stride_t &str_, const T *d_, const membuf<T> &mb)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment