Xavier Sánchez Díaz
Xavier Sánchez Díaz
Home
Projects
Teaching
Posts
Talks
Publications
Contact
Light
Dark
Automatic
C++
On Smart Pointers and Memory Management
Yesterday, I came across a bug1 in one of the snippets we used for graphs in the Data Structures and Algorithms course. Under very specific conditions, the program crashed with a generic bad_alloc error while everything was logically sound.
Xavier F. C. Sánchez Díaz
Last updated on Nov 12, 2020
3 min read
Cite
×