Boost logo

Boost :

Subject: Re: [boost] type_with_alignment.hpp / alignment_of.hpp too heavy
From: David Abrahams (dave_at_[hidden])
Date: 2008-10-03 09:05:06

on Thu Oct 02 2008, "Christian Holmquist" <> wrote:

> 2008/10/1 Emil Dotchevski <emil_at_[hidden]>
>> So, at least I need to include alignment_of.hpp which is so heavy it
>> practically nullifies my efforts to pimpl the U type away in the cpp.
> Have a look at boost/intrusive/detail/mpl.hpp, there's a alignment_of with
> the following comment
> //boost::alignment_of yields to 10K lines of preprocessed code, so we
> //need an alternative
> Since it's in detail, maybe it's safe to check with the author (Ion?)
> first..

I would prefer to fix this dependency problem. AFAICT it only exists
for VC6/7 support of mpl lambda expressions with boost type traits. Is
this the only trait that exhibits that level of dependency?

Dave Abrahams
BoostPro Computing

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