
10 Sep
2025
10 Sep
'25
3:26 p.m.
On 9/10/2025 5:18 PM, Vinnie Falco wrote:
On Wed, Sep 10, 2025 at 8:08 AM Gennaro Prota via Boost <boost@lists.boost.org <mailto:boost@lists.boost.org>> wrote:
Hi everyone,
I was wondering if there's still any compiler among those generally supported by Boost which requires either BOOST_STATIC_ASSERT() or BOOST_STATIC_CONSTANT(). I'd like to get rid of them for DynamicBitset.
2-arg static_assert is available in C++11 and up.
If you want 1-arg static_assert in C++11 you need BOOST_STATIC_ASSERT. Ah, right :-). I forgot 1-arg static_assert is C++17 or later.
Thanks. -- Gennaro Prota <https://prota.dev>