http://en.wikipedia.org/wiki/Plain_Old_Data_Structures
confirms that POD can't have a vptr :-) Benoit 2014-02-28 7:39 GMT-05:00 Henri Sivonen <hsivo...@hsivonen.fi>: > On Fri, Feb 28, 2014 at 1:04 PM, Neil <n...@parkwaycc.co.uk> wrote: > > At least under MSVC, they have vtables, so they need to be constructed, > so > > they're not static. > > So structs that inherit at least one virtual method can't be plain old > C data? That surprises me. And we still don't want to give the dynamic > linker initializer code to run, right? > > -- > Henri Sivonen > hsivo...@hsivonen.fi > https://hsivonen.fi/ > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform