mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
refs #345 Third and final wave of value classes using the CValueObjectStdTuple CRTP class template, with policy classes.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user