Boost logo

Boost :

Subject: Re: [boost] [metal] Feature Complete - Request for Feedback
From: Peter Dimov (lists_at_[hidden])
Date: 2017-02-21 23:43:02


Bruno Dutra wrote:
> Good, so let us raise the bar a further notch ;)
>
> What about insert<std::map<X, Y>, number<2>, F>, should it yield
> std::map<X, Y, F>? Should it SFINAE away because std::map can't fit 5
> elements?

Right, SFINAEability does make things harder. There's the option of taking
everything and always returning metal::list.

Numbers however pose fewer issues if I'm not mistaken. You just take
N::value instead of requiring metal::number.


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