Hello,
I am far from being a C++ expert but I wonder if you can potentially mis-align data structure with the Allocate method ?
On GCC and VSS, the data structure will probably be padded so calling Allocate with a sizeof should not be an issue....but I wonder if there can be an issue with 64bits system, stacking first a 32bits padded struct then a 64bits one.
I am far from being a C++ expert but I wonder if you can potentially mis-align data structure with the Allocate method ?
On GCC and VSS, the data structure will probably be padded so calling Allocate with a sizeof should not be an issue....but I wonder if there can be an issue with 64bits system, stacking first a 32bits padded struct then a 64bits one.