Boost logo

Boost :

Subject: Re: [boost] [forward_declare] Interest Inquiry toward Faster Compile Times
From: Julien Nitard (julien.nitard_at_[hidden])
Date: 2012-08-01 21:01:27


Hi,

Agreed on the general idea, quite interesting indeed, thanks for sharing.

Isn't there a space cost as well ? First the way you did you require
one more byte for each object (why by the way?) which means that each
"fwd" in a sequence will have something like 7 bytes of padding after
it when compiling for 64 bit systems.
Hopefully there aren't any alignment problems when using "fwd" but I
am not expert enough to be sure, have you considered it ?

Regards,

Julien


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk