Subject: Re: [boost] type_with_alignment.hpp / alignment_of.hpp too heavy
From: Beman Dawes (bdawes_at_[hidden])
Date: 2008-10-07 12:27:26
On Fri, Oct 3, 2008 at 9:05 AM, David Abrahams <dave_at_[hidden]> wrote:
> on Thu Oct 02 2008, "Christian Holmquist" <c.holmquist-AT-gmail.com> 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?)
> 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?
FWIW, I think we should be removing VC 6 and 7.0 workarounds,
particularly in libraries where there is some real downside to
continued support for these now long obsolete compilers.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk