|
Boost : |
Subject: Re: [boost] [Hana] Formal review
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2015-06-22 13:07:34
Le 22/06/15 12:42, Peter Dimov a écrit :
> Edouard wrote:
>
>> However when headers are too fine grained it's almost impossible for
>> the user of a library to know what should be included.
>
> With properly fine-grained headers, it's trivial to know what should
> be included - if you use, for instance, mp_transform, you include
> mp_transform.hpp. That's overkill if many mp_ things are one-liners,
> of course. But my point is that "not knowing what to include" is not
> one of the problems with "too fine grained".
>
I like fine grained headers because it states explicitly the
dependencies between the different classes and/or functions.
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk