From: Peter Dimov (pdimov_at_[hidden])
Date: 2019-12-04 19:24:53


Vinnie Falco wrote:
> > Since the library requires C++11, there's no need to use
> > BOOST_STATIC_ASSERT. static_assert is fine.
>
> BOOST_STATIC_ASSERT only requires 1 argument :)

The one argument form isn't used though.

https://github.com/18/fixed_string/blob/master/include/boost/fixed_string/config.hpp#L49

#define BOOST_FIXED_STRING_STATIC_ASSERT(cond, msg)
BOOST_STATIC_ASSERT_MSG(cond, msg)