Quantcast
Channel: User HolyBlackCat - Stack Overflow
Viewing all articles
Browse latest Browse all 1287

Comment by HolyBlackCat on Need to call trivial destructor in standard compliant containers

$
0
0
"For example, if one wants to count the number of times vector<int, counting_allocator<int> > destroys int" Nope, this doesn't make sense. This isn't up to you to decide, rather the custom allocator should decide if it wants this or not.

Viewing all articles
Browse latest Browse all 1287

Trending Articles