
28 Apr
2012
28 Apr
'12
1:39 p.m.
On Sat, Apr 28, 2012 at 2:48 PM, Christopher Kormanyos <e_float@yahoo.com> wrote:
I assume this vector can't be resized. Why use a vector instead of for example an array or ptr pair? Olaf
Because I never figured out a way to *place* an array at the known physical address in memory where I want it, such as 0xFFE0, or whatever the address of, say, the ADC result registers may be in the microcontroller.
Maybe there is a simpler way to do things like this. But I never got it. Any advice would be welcome.
What about placement new? Or an array_ref (not part of Boost). -- Olaf