Boost logo

Boost :

Subject: Re: [boost] [type_traits] Rewrite and dependency free version
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2015-01-15 05:49:47

El 15/01/2015 a las 10:04, John Maddock escribió:
>> Very nice.
>>> The main pros for this version are:
>>> 1) Zero dependencies other than Boost.Config.
>> We still have Boost.PP.
> No, just to be clear: *there is absolutely no dependency on the PP lib*.
> It is true that there are a couple of headers which have a "maintenance
> mode" that includes PP headers - but the result needs a search and
> replace afterwards to produce valid C++ code. No user code can ever
> include a PP header via type_traits. Ever.
> To make this clearer, one thing I considered was archiving the PP
> generating code somewhere, and removing it from the headers.

Ah! Sorry, I see what you say. In any case with my alternative
implementation you could avoid even Boost.PP for manteinance and avoid
all those overloads.

In any case, this should be a possible improvement for the future.

Many thanks for the explanations


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