• Users
  • Kallinteris Andreas

User profile: Kallinteris Andreas

User info
User name:Kallinteris Andreas
Old user name:masterAndreas
History
Joined:
Number of posts:45
Latest posts:

std::vector::resize without inserting default elements
@keskivrto 1) you appear to be correct on that the default default constractor just uses whatever i...

std::vector::resize without inserting default elements
From cppref we have: (https://en.cppreference.com/w/cpp/container/vector/resize ) (talking about std...

Do custom allocator apply just to containers, and how do i apply them to any memory allocation
for my case i only have 1 object type (so same size always) but i am asking incase there is a built ...

Do custom allocator apply just to containers, and how do i apply them to any memory allocation
https://en.cppreference.com/w/cpp/named_req/Allocator I am referring to this ^^^^ kinds of custom...

std::priority_queue<std::vector> how to reserve space in the internal vector container
I ended up going with boost::heap::priority_queue which (at least for my purpose) is a drop-in repla...