]> Savannah Git Hosting - gnulib.git/commit
verify: simplify static_assert configuration
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Jan 2021 23:46:33 +0000 (15:46 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Jan 2021 19:13:59 +0000 (11:13 -0800)
commitaf586b7247c6191ec06e487d6d30e5708c44e07e
treed06cfbe0e8a38e7537aa2ae90e9786de57f9411f
parenta8bac4d4940cd7c7eeef85f3c618a78a274f0cb8
verify: simplify static_assert configuration

* lib/verify.h (_GL_HAVE__STATIC_ASSERT, _GL_HAVE__STATIC_ASSERT1):
Do not define for C++.  This should be good enough nowadays,
since recent-enough C++ compilers have static_assert.
(_GL_HAVE_STATIC_ASSERT_CXX11, _GL_HAVE_STATIC_ASSERT_CXX17):
Remove.  All uses replaced by simply checking __cpp_static_assert.
ChangeLog
lib/verify.h