Boost logo

Boost :

Subject: Re: [boost] define for 32/64 bitness?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-02-16 17:34:05

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.

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