
17 Feb
2010
17 Feb
'10
7:23 a.m.
-------- Original-Nachricht --------
Datum: Tue, 16 Feb 2010 22:34:05 +0000 Von: Mathias Gaunard <mathias.gaunard@ens-lyon.org> An: boost@lists.boost.org Betreff: Re: [boost] define for 32/64 bitness?
Oliver Kowalke a écrit :
Does boost provide an preprocessor define telling if the boost lib is build for 32 or 64 bit? I need this info for the second parameter of posix_memalign().
Use boost::alignment_of<T>::value for the type you're interested in.
Seams no tow work for me because I've to provide an aligned stack - the address of the memory must be a multiple of eight (or sixteen on 64-bit systems). regards, Oliver -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01