> > BITMPINFO * pbmi = static_cast< BITMAPINFO * >  (operator new(
> > sizeof(BITMAPINFO) + (sizeof(RGBQUAD) * 8 ));
> >
> > I use operator new( ) and operator delete( ) in such cases
> where I'm
> > allocating raw bytes of memory (not an object, etc.)
>
> See! I told you he'd know. ;-)

Oh, but I didn't say anything of placement new!  ;-)

-------------
Ehsan Akhgari

Farda Technology (http://www.farda-tech.com/)

List Owner: [EMAIL PROTECTED]

[ Email: [EMAIL PROTECTED] ]
[ WWW: http://www.beginthread.com/Ehsan ]

They have something of which they are proud. What do they call it, that
which makes them proud? Culture, they call it; it distinguishes them from
the goatherds.
-Thus Spoke Zarathustra, F. W. Nietzsche





Reply via email to