Boost logo

Boost :

From: Daniel Wallin (dalwan01_at_[hidden])
Date: 2004-01-22 04:39:53

Jonathan Turkanis wrote:
> "Daniel Wallin" <dalwan01_at_[hidden]> wrote in message
>>You almost certainly don't want this. If you need to generate the
>>deleter type somehow, make it a metafunction class.
> I stay away from template template parameters most of the time, for
> the sake of old compilers. But here we're relying heavily on SFINAE,
> so I don't see the need.

Actually we are not really relying on SFINAE at all. I got it working on
VC7, and likely it won't break on VC6 either.

> In one of my earlier posts the policies were
> (implicitly) metafunction classes, but when I actually sat down to
> write them it seemed to make the code needlessly obscure. I'm trying
> to be careful not to complicate things too much ;-). Its no big deal
> to switch later.

There's more reasons than support for old compilers to go for
metafunction classes though, check out the MPL paper.

Daniel Wallin

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