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

This commit is contained in:
Hans-Christian Ebke
2015-11-19 11:09:53 +01:00
parent d511f65739
commit 21cc0acab5

View File

@@ -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.