It's not clear to me the following point: If we ever need more control over memory allocation, using the pmr::memory_resource is the most convenient approach? Or in some cases a custom one is more suitable? I cannot imagine how can I implement a frame allocator using the pmr::memory_resource right now, because some object might rung their internal destructor, and freeing the whole allocator without knowing the type of allocated object is wrong. Can you point me to some reosource please?
My favorite C++ speaker by far. Learned so much from this guy.
21:45 was the big aha moment for me where things started to click
It's not clear to me the following point:
If we ever need more control over memory allocation, using the pmr::memory_resource is the most convenient approach?
Or in some cases a custom one is more suitable?
I cannot imagine how can I implement a frame allocator using the pmr::memory_resource right now, because some object might rung their internal destructor, and freeing the whole allocator without knowing the type of allocated object is wrong. Can you point me to some reosource please?
The distinction he wanted to make is between _value_ types and _reference_ types.
I love these videos but it would be cool if the volume was turned a bit higher.
with earphones its good
This is great talk !