Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop dependency on Boost.Static_Assert #135

Open
akrzemi1 opened this issue Sep 28, 2024 · 1 comment
Open

Drop dependency on Boost.Static_Assert #135

akrzemi1 opened this issue Sep 28, 2024 · 1 comment

Comments

@akrzemi1
Copy link
Member

Currently Boost.Optional still depends on Boost.Static_Assert and uses BOOST_STATIC_ASSERT instead of static_asseet.

This is due to an omission in the process. I depprecated (three releases ago) the support for certain C++11 workarounds (see the list), but I forgot about the static_assert. So while we now can use the listed C++11 features, it is still unsafe to use static_assert.

Ultimately, we want to be able to use static_assert in Boost.Optional. This requires two steps.

  1. Determine if there even exist compilers that support rvalue references, variadic templates, fuction ref-qualifiers, but do not support static_assert. consult the maintainers of Boost.Config. If there aren't such compilers, just drop the dependency on Boost.Static_Assert right away.
  2. Start the three-release depprecation period for BOOST_NO_CXX11_STATIC_ASSERT.
@typenameTea
Copy link
Contributor

What would be the best way to consult the maintainers, should I put a message out on the mailing list?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants