Closed Raildex closed 4 years ago
Hi @Raildex, is it sufficient to support a constructor that takes an allocator:
tree(const node_allocator_type& a) : _root(NULL), _node_allocator(a) {}
re-opening, I'll close when I push an upate with new allocator
@Raildex I pushed a fix to head of develop
branch that defines new constructor:
tree(const node_allocator_type& a) : _root(NULL), _node_allocator(a) {}
If that works for you, let me know and I'll close this issue
it works perfectly fine now 👍
thank you!
STL containers allow passing the allocator (not the type) as a constructor argument. I'd like to see it here aswell.