We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
enable_allocator_from_this is used to store the allocator with EBO. Its interface should be improved to reflect the proper API for EBO.
enable_allocator_from_this
https://github.com/alandefreitas/futures/blob/master/include/futures/detail/utility/maybe_empty.hpp
No EBO won't work for our classes. Maintaining the current API is not safe.
EBO makes the containers 8 bytes smaller when the allocator is not stateful, such as std::allocator.
std::allocator
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The problem
enable_allocator_from_this
is used to store the allocator with EBO. Its interface should be improved to reflect the proper API for EBO.Proposed solution
https://github.com/alandefreitas/futures/blob/master/include/futures/detail/utility/maybe_empty.hpp
Alternatives I've considered
No EBO won't work for our classes. Maintaining the current API is not safe.
Additional context
EBO makes the containers 8 bytes smaller when the allocator is not stateful, such as
std::allocator
.The text was updated successfully, but these errors were encountered: