
30 Apr
2012
30 Apr
'12
2:06 p.m.
typedef std::array<volatile std::int32_t, 8> array_type; array_type* pa = new(myhardware) array_type; assert(&(*pa[0]) == myhardware); ?? HTH, John.
Oh, that's easy. It seems obvious now, but I never got it. Thanks so much for the clarification, John and Olaf. It helps.
But did you spot the "deliberate" mistake? ;-) Should be assert(&(*pa)[0] == myhardware); John.