Boost logo

Boost :

Subject: Re: [boost] [GSoC] [Boost.Hana] Formal review request
From: Michael Shepanski (mps_at_[hidden])
Date: 2014-08-01 08:12:26


On 1/08/2014 9:56 PM, Roland Bock wrote:
> I don't agree. There are situations where static assert is just perfect.
> Some things just must not happen. If they occur, it is an error. I use
> static_assert to catch those. I am using it in sqlpp11 and wouldn't want
> to express everything with enable_if instead.
>
> Of course, enable_if also has its place and I use it, but much less than
> before.

+1

Some days you want SFINAE, some days you want SFIAE.
--- Michael


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