[cfe-dev] aligned 'new'
joerg at britannica.bec.de
Sat Sep 3 15:12:52 CDT 2011
On Sat, Sep 03, 2011 at 09:51:36PM +0400, Anton Korobeynikov wrote:
> > Why do you need to change the language for that at all?
> > At least for UNIX-like systems, you could just use a call to
> > posix_memalign with your size,alignment pair and call the placement new
> > on the result. Wrap it around in one or two macros (instance vs array)
> > and it is done.
> Because calls to new can be inserted by a compiler? :)
...which would just use the default settings and therefore doesn't
More information about the cfe-dev