Boost logo

Boost :

Subject: Re: [boost] [metal] Feature Complete - Request for Feedback
From: Bruno Dutra (brunocodutra_at_[hidden])
Date: 2017-02-21 17:16:10


>
> Will Metal be old as soon as Concepts appear? (ie probably C++20)
> Or are they complimentary?
>
>
Not at all, concepts are a replacement for std::enable_if and explicit
SFINAE, but one still has to write the predicates themselves, which are not
always as trivial as instantiating a type_trait. Specially when dealing
with std::tuple and std::variant one may find oneself dealing with dozens
to maybe hundreds of types, which in turn might have to be constraint in
curious ways in order to express particular concepts. Metal will be there
to make it easy.


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