diff --git a/src/OpenMesh/Core/Geometry/Vector11T.hh b/src/OpenMesh/Core/Geometry/Vector11T.hh index 6c78777e..e05a843b 100644 --- a/src/OpenMesh/Core/Geometry/Vector11T.hh +++ b/src/OpenMesh/Core/Geometry/Vector11T.hh @@ -169,6 +169,11 @@ class VectorT { std::copy_n(it, DIM, values_.begin()); } + /// construct from an array + explicit VectorT(container&& _array) { + values_ = _array; + } + /// copy & cast constructor (explicit) template