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

Remove #ifdef __cpp_lib_bitops when possible #26

Closed
sylveon opened this issue May 26, 2020 · 1 comment
Closed

Remove #ifdef __cpp_lib_bitops when possible #26

sylveon opened this issue May 26, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@sylveon
Copy link
Owner

sylveon commented May 26, 2020

Once microsoft/STL#795 releases in VS preview, we should remove this

#ifdef __cpp_lib_bitops // MIGRATION: MSVC <bit> support
requires is_aligned_heapalloc_v<alignment> && (std::has_single_bit(alignment))
#else
requires is_aligned_heapalloc_v<alignment> && (alignment != 0 && (alignment & (alignment - 1)) == 0)
#endif

@sylveon sylveon added the enhancement New feature or request label May 26, 2020
@sylveon
Copy link
Owner Author

sylveon commented Sep 10, 2020

Not needed anymore

@sylveon sylveon closed this as completed Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant