Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2021-10-16 19:16:38


Glen Fernandes wrote:
> On Sat, Oct 16, 2021 at 2:19 PM John Maddock wrote:
> > This is fine by me, I imagine that Boost.StaticAssert is rapidly
> > becoming obsolete anyway?
>
> Not everyone is on C++17 to use static_assert(expr), so even C++11 and
> C++14 Boost libraries (and some Boost users) choose
> BOOST_STATIC_ASSERT(expr) over having to static_assert(expr, "expr") etc.

That's true, but the implementation can be simplified considerably if C++11
can be assumed. :-)


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