refs #140 to demonstrate the new tuple framework, adapted five typical value classes to use it

This commit is contained in:
Mathew Sutcliffe
2014-02-12 23:02:43 +00:00
committed by Klaus Basan
parent fcd3dc09ef
commit 7f92b5dbc9
10 changed files with 40 additions and 103 deletions

View File

@@ -23,6 +23,8 @@ namespace BlackMisc
template <class ImplVector> class CVector3DBase : public CValueObject
{
private:
BLACK_ENABLE_TUPLE_CONVERSION(CVector3DBase)
/*!
* \brief Easy access to derived class (CRTP template parameter)
* \return
@@ -366,4 +368,6 @@ namespace BlackMisc
} // namespace
} // namespace
BLACK_DECLARE_TUPLE_CONVERSION_TEMPLATE(BlackMisc::Math::CVector3DBase, (o.m_i, o.m_j, o.m_k))
#endif // guard