CppCon 2018: Mark Elendt “Dangling in French and English”

preview_player
Показать описание


Lightning Talk


*-----*
*-----*
Рекомендации по теме
Комментарии
Автор

you still shouldn't keep a reference to old data after a push_back, regardless of string length

qsvui
Автор

What you need are iterators in debug mode that trap invalidation.

JohnDlugosz
Автор

Google actually translates "est-ce une chaine" to "is it a chain"

xahal
Автор

Very interesting. I don't think it's a good design for an object to have two copy behaviors. The other thing is why 16? Arbitrary number is also a text book bad design.

PixelPulse