refs #345 Third and final wave of value classes using the CValueObjectStdTuple CRTP class template, with policy classes.

This commit is contained in:
Mathew Sutcliffe
2014-11-08 00:17:13 +00:00
parent 2b9d4098d4
commit f219d290f1
48 changed files with 326 additions and 1389 deletions

View File

@@ -21,7 +21,7 @@ namespace BlackMisc
{
//! Matrix 1x3
class CMatrix1x3 : public CMatrixBase<CMatrix1x3, 1, 3>
class CMatrix1x3 : public CValueObjectStdTuple<CMatrix1x3, CMatrixBase<CMatrix1x3, 1, 3>>
{
public:
@@ -29,7 +29,7 @@ namespace BlackMisc
CMatrix1x3() = default;
//! Init by fill value
explicit CMatrix1x3(double fillValue) : CMatrixBase(fillValue) {}
explicit CMatrix1x3(double fillValue) : CValueObjectStdTuple(fillValue) {}
//! Constructor
CMatrix1x3(double c1, double c2, double c3)