C++ Cryptozoology - A Compendium of Cryptic Characters :: #2 - Adi Shavit [ CppCon 2018 ]

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


C++ is blessed with a plethora of gotchas, traps, caveats, pitfalls and footguns.
From Abominable Types to Zombies, many shady characters lurk within the C++ dungeons.
Will you dare to join me on an adventure of close encounters with some of these decrepit denizens?

In this fun and lighthearted talk, we'll encounter various interesting and esoteric aspects, concepts and pragmatisms of the C++ language.

Adi Shavit, Architect, Consultant

Adi Shavit is an entrepreneur, speaker, independent consultant, experienced software architect and a computer vision, image processing, and machine learning expert with an emphasis on real-time applications. He specializes in building cross-platform, high-performance software combined with high production quality and maintainable code-bases. Adi is the founder of the Core C++ users group in Israel.



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

great job! Informative and entertaining!

robertramey
Автор

At 22:28, would be hilarious if the slide had this snippet of code:

using tom_riddle = decltype(unnambable);

BlackBeltMonkeySong
Автор

6:23 placement new in "mallocated" memory *is not UB.*
What is UB is using *delete* on the pointer returned by a *new(ptr) T* expression.

bitshift
Автор

It's possible to detect whether a Voldemort type has a specific name with a bit of metaprogramming by exploiting the injected-class-name.

oktal
Автор

Caring about warnings of while(0) - why not write is while(false)? This is C++, not C - we have bool type

Xeverous
Автор

And the curse of the shoddy audio strikes again. This time the mic is shit.

henke
Автор

Very Interesting! ...






is an understatement.

fahimp