Re: [eigen] Assignment to MatrixBase fails assertion or SEGVs

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Ah protected, yes!

Armin proposed yesterday on IRC "is there a constructor one could make
private/protected?" and I read only private and I said that would be
cumbersome --- but protected, yes, that's a great idea!

Benoit

2009/10/31 mmoll <Markus.Moll@xxxxxxxxxxxxxxxx>:
> Hi
>
> Quoting Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
>
>> Conclusion: never create explicitly a MatrixBase object, only create
>> Matrix objects and then cast them to MatrixBase as needed.
>
> Wouldn't it then be a good idea to make MatrixBase's constructor protected?
>
> Markus
>
>
>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/