Boost logo

Boost :

Subject: Re: [boost] define for 32/64 bitness?
From: Oliver Kowalke (k-oli_at_[hidden])
Date: 2010-02-17 02:23:37

-------- Original-Nachricht --------
> Datum: Tue, 16 Feb 2010 22:34:05 +0000
> Von: Mathias Gaunard <mathias.gaunard_at_[hidden]>
> An: boost_at_[hidden]
> 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).


GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter

Boost list run by bdawes at, gregod at, cpdaniel at, john at