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
Using queue with an allocator, it is impossible to write code that invokes this template constructor:
template <typename U> queue(size_type n, typename node_allocator::template rebind<U>::other const & alloc):
(or the other one with the rebind).
The template argument U cannot be deduced (at least with gcc 5.3.0).
I had to add the following form in order to use this with a custom allocator:
explicit queue(size_type n, allocator const & alloc)
I notice that the constructor that takes only an alloc already has this overload.
alloc
The text was updated successfully, but these errors were encountered:
This problem is still not fixed in boost 1.69, with msvc2019 v142. Using custom allocator with lockfree::fixed_sized is impossible.
Sorry, something went wrong.
No branches or pull requests
Using queue with an allocator, it is impossible to write code that invokes this template constructor:
(or the other one with the rebind).
The template argument U cannot be deduced (at least with gcc 5.3.0).
I had to add the following form in order to use this with a custom allocator:
explicit queue(size_type n, allocator const & alloc)
I notice that the constructor that takes only an
alloc
already has this overload.The text was updated successfully, but these errors were encountered: