Re: [eigen] private copy ctors |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
Finally, can somebody please enlighten me, why it is not possible to create an assignment operator for classes with const members? To me it seems sane and the following code compiles perfectly over here:
struct Foo
{
Foo() : i(5) {}
const int i;
};
void main ()
{
Foo a;
Foo b = a;
}
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |