Re: [eigen] strange sizeof on windows

[ Thread Index | Date Index | More Archives ]

Hi Frank,

Thank you very much. Together with Robert's remark, I am starting to
have a terrible fear:could it be that with MSVC, inheriting an empty
struct increases the sizeof? Normally this shouldn't be the case (by
contrast, having an empty struct as member does normally increase the

can you try this:

struct empty {};
struct foo : empty
  float x;

and print sizeof(foo), sizeof(empty), sizeof(float) ?


2009/1/5 FMDSPAM <fmdspam@xxxxxxxxx>:
> Hi List,
> I just want to drop additional information (see picture) into this thread.
> But unfortunately without any idea what is going on.
> So, if this is totally useless, never mind, forget it.
> Regards
> Frank
> P.S.
> If I can help running some code snippets, please let me know.


Mail converted by MHonArc 2.6.19+