Re: [eigen] private copy ctors

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


struct Foo
{
  Foo() : i(5) {}
  const int i;
};

void main ()
{
  Foo a;
  Foo b = a;
}

Ok ok, I see it. That example was stupid and the const members require assignment at construction. I should get another coffee.

- Hauke


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