operator()(const size_type i);
/**
- * Make the corresponding operator () from the TableBase base class
- * available also in this class.
+ * Make the variations of `operator()` from the base class available.
*/
- typename AlignedVector<T>::reference
- operator()(const TableIndices<1> &indices);
-
- /**
- * Make the corresponding operator () from the TableBase base class
- * available also in this class.
- */
- typename AlignedVector<T>::const_reference
- operator()(const TableIndices<1> &indices) const;
+ using TableBase<1, T>::operator();
};
operator()(const size_type i, const size_type j);
/**
- * Make the corresponding operator () from the TableBase base class
- * available also in this class.
+ * Make the variations of `operator()` from the base class available.
*/
- typename AlignedVector<T>::reference
- operator()(const TableIndices<2> &indices);
-
- /**
- * Make the corresponding operator () from the TableBase base class
- * available also in this class.
- */
- typename AlignedVector<T>::const_reference
- operator()(const TableIndices<2> &indices) const;
-
+ using TableBase<2, T>::operator();
/**
* Number of rows. This function really makes only sense since we have a
operator()(const size_type i, const size_type j, const size_type k);
/**
- * Make the corresponding operator () from the TableBase base class
- * available also in this class.
- */
- typename AlignedVector<T>::reference
- operator()(const TableIndices<3> &indices);
-
- /**
- * Make the corresponding operator () from the TableBase base class
- * available also in this class.
+ * Make the variations of `operator()` from the base class available.
*/
- typename AlignedVector<T>::const_reference
- operator()(const TableIndices<3> &indices) const;
+ using TableBase<3, T>::operator();
};
const size_type l);
/**
- * Make the corresponding operator () from the TableBase base class
- * available also in this class.
- */
- typename AlignedVector<T>::reference
- operator()(const TableIndices<4> &indices);
-
- /**
- * Make the corresponding operator () from the TableBase base class
- * available also in this class.
+ * Make the variations of `operator()` from the base class available.
*/
- typename AlignedVector<T>::const_reference
- operator()(const TableIndices<4> &indices) const;
+ using TableBase<4, T>::operator();
};
const size_type m);
/**
- * Make the corresponding operator () from the TableBase base class
- * available also in this class.
+ * Make the variations of `operator()` from the base class available.
*/
- typename AlignedVector<T>::reference
- operator()(const TableIndices<5> &indices);
-
- /**
- * Make the corresponding operator () from the TableBase base class
- * available also in this class.
- */
- typename AlignedVector<T>::const_reference
- operator()(const TableIndices<5> &indices) const;
+ using TableBase<5, T>::operator();
};
const size_type n);
/**
- * Make the corresponding operator () from the TableBase base class
- * available also in this class.
+ * Make the variations of `operator()` from the base class available.
*/
- typename AlignedVector<T>::reference
- operator()(const TableIndices<6> &indices);
-
- /**
- * Make the corresponding operator () from the TableBase base class
- * available also in this class.
- */
- typename AlignedVector<T>::const_reference
- operator()(const TableIndices<6> &indices) const;
+ using TableBase<6, T>::operator();
};
const size_type o);
/**
- * Make the corresponding operator () from the TableBase base class
- * available also in this class.
+ * Make the variations of `operator()` from the base class available.
*/
- typename AlignedVector<T>::reference
- operator()(const TableIndices<7> &indices);
-
- /**
- * Make the corresponding operator () from the TableBase base class
- * available also in this class.
- */
- typename AlignedVector<T>::const_reference
- operator()(const TableIndices<7> &indices) const;
+ using TableBase<7, T>::operator();
};
}
-
-template <typename T>
-inline typename AlignedVector<T>::const_reference
-Table<1, T>::operator()(const TableIndices<1> &indices) const
-{
- return TableBase<1, T>::operator()(indices);
-}
-
-
-
-template <typename T>
-inline typename AlignedVector<T>::reference
-Table<1, T>::operator()(const TableIndices<1> &indices)
-{
- return TableBase<1, T>::operator()(indices);
-}
-
-
//---------------------------------------------------------------------------
-template <typename T>
-inline typename AlignedVector<T>::const_reference
-Table<2, T>::operator()(const TableIndices<2> &indices) const
-{
- return TableBase<2, T>::operator()(indices);
-}
-
-
-
-template <typename T>
-inline typename AlignedVector<T>::reference
-Table<2, T>::operator()(const TableIndices<2> &indices)
-{
- return TableBase<2, T>::operator()(indices);
-}
-
-
-
template <typename T>
inline typename AlignedVector<T>::const_reference
Table<2, T>::el(const size_type i, const size_type j) const
-template <typename T>
-inline typename AlignedVector<T>::const_reference
-Table<3, T>::operator()(const TableIndices<3> &indices) const
-{
- return TableBase<3, T>::operator()(indices);
-}
-
-
-
-template <typename T>
-inline typename AlignedVector<T>::reference
-Table<3, T>::operator()(const TableIndices<3> &indices)
-{
- return TableBase<3, T>::operator()(indices);
-}
-
-
-
template <typename T>
inline Table<4, T>::Table(const size_type size1,
const size_type size2,
-template <typename T>
-inline typename AlignedVector<T>::const_reference
-Table<4, T>::operator()(const TableIndices<4> &indices) const
-{
- return TableBase<4, T>::operator()(indices);
-}
-
-
-
-template <typename T>
-inline typename AlignedVector<T>::reference
-Table<4, T>::operator()(const TableIndices<4> &indices)
-{
- return TableBase<4, T>::operator()(indices);
-}
-
-
-
template <typename T>
inline Table<5, T>::Table(const size_type size1,
const size_type size2,
-template <typename T>
-inline typename AlignedVector<T>::const_reference
-Table<5, T>::operator()(const TableIndices<5> &indices) const
-{
- return TableBase<5, T>::operator()(indices);
-}
-
-
-
-template <typename T>
-inline typename AlignedVector<T>::reference
-Table<5, T>::operator()(const TableIndices<5> &indices)
-{
- return TableBase<5, T>::operator()(indices);
-}
-
-
-
template <typename T>
inline Table<6, T>::Table(const size_type size1,
const size_type size2,
-template <typename T>
-inline typename AlignedVector<T>::const_reference
-Table<6, T>::operator()(const TableIndices<6> &indices) const
-{
- return TableBase<6, T>::operator()(indices);
-}
-
-
-
-template <typename T>
-inline typename AlignedVector<T>::reference
-Table<6, T>::operator()(const TableIndices<6> &indices)
-{
- return TableBase<6, T>::operator()(indices);
-}
-
-
-
template <typename T>
inline Table<7, T>::Table(const size_type size1,
const size_type size2,
}
-
-template <typename T>
-inline typename AlignedVector<T>::const_reference
-Table<7, T>::operator()(const TableIndices<7> &indices) const
-{
- return TableBase<7, T>::operator()(indices);
-}
-
-
-
-template <typename T>
-inline typename AlignedVector<T>::reference
-Table<7, T>::operator()(const TableIndices<7> &indices)
-{
- return TableBase<7, T>::operator()(indices);
-}
-
-
#endif // DOXYGEN