move CommaInitializer out of MatrixBase and documment it (because of .finished())

This commit is contained in:
Gael Guennebaud
2008-09-13 18:51:51 +00:00
parent a62bd110a2
commit 8473a77f2f
4 changed files with 34 additions and 23 deletions

View File

@@ -53,8 +53,6 @@
*/
template<typename Derived> class MatrixBase
{
struct CommaInitializer;
public:
class InnerIterator;
@@ -236,10 +234,10 @@ template<typename Derived> class MatrixBase
template<typename Derived1, typename Derived2>
Derived& lazyAssign(const Product<Derived1,Derived2,SparseProduct>& product);
CommaInitializer operator<< (const Scalar& s);
CommaInitializer<Derived> operator<< (const Scalar& s);
template<typename OtherDerived>
CommaInitializer operator<< (const MatrixBase<OtherDerived>& other);
CommaInitializer<Derived> operator<< (const MatrixBase<OtherDerived>& other);
const Scalar coeff(int row, int col) const;
const Scalar operator()(int row, int col) const;