Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-11-21 20:23:40


Douglas Paul Gregor <gregod_at_[hidden]> writes:

> On Fri, 21 Nov 2003, Beman Dawes wrote:
>> Usage would simply be:
>>
>> #include <boost/abi_prefix.hpp> // after all other includes
>> ...
>> #include <boost/abi_suffix.hpp> // after all code
>>
>> Note that these additional headers don't have to be used. A Boost developer
>> would still be free choose the lengthier form above if that suited her
>> preferences. The two forms are functionally equivalent.
>>
>> Comments?
>
> This doesn't seem like a win to me, unless we think that the
> abi_prefix.hpp/abi_suffix.hpp headers might actually change. It's only
> saving 4 lines of boilerplate code per header.

Those _5_ lines are enough savings to make it worthwhile for me. I
hate repeating myself ;-)

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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