User profile: mbozzi

User info
User name:mbozzi
Bio:ESR's article /How To Ask Questions the Smart Way/ is the best guide to getting quick, effective help that I know of.
http://www.catb.org/esr/faqs/smart-questions.html

That document has substantial problems, but its content is mostly good.

Avoid the common trap of asking about potential solutions rather than your actual problem. Always provide context for the questions you ask.
http://xyproblem.info/

My opinions do not represent the position of my employer.
Statistical data
Occupation:Other
History
Joined:
Number of posts:3008
Latest posts:

Using () or {} for initialization
List initialization prevents narrowing conversions [i]as part of initialization[/i], it doesn't affe...

Why is this trivial code leaking memory?
It could be memory allocated by the implementation and not freed, not a problem in your code. Unfor...

Why is this trivial code leaking memory?
[quote]As far as I understand, your finish is exactly what it's called size, while end represents th...

Why is this trivial code leaking memory?
[quote]- a pointer to the last element constructed within the managed storage[/quote]My mistake, thi...

Why is this trivial code leaking memory?
The vector is lost. Not the [i]contents[/i] of the vector, but the vector object itself. On your ...