Commit 21cc0aca authored by Hans-Christian Ebke's avatar Hans-Christian Ebke
Browse files

C++11: Explicitly defined default copy/move c'tor and operator=.

parent d511f657
......@@ -125,6 +125,11 @@ class VectorT {
constexpr VectorT(T... vs) : values_ { {static_cast<Scalar>(vs)...} }
{}
VectorT(const VectorT &rhs) = default;
VectorT(VectorT &&rhs) = default;
VectorT &operator=(const VectorT &rhs) = default;
VectorT &operator=(VectorT &&rhs) = default;
/**
* Only for 4-component vectors with division operator on their
* Scalar: Dehomogenization.
......
Markdown is supported
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