C++ Insights - Episode 38: User-provided vs. user-declared

  Рет қаралды 1,019

Andreas Fertig

Andreas Fertig

Күн бұрын

Пікірлер: 4
@theintjengineer
@theintjengineer Жыл бұрын
Thanks for going through that. Keep it up! Grüße aus'm Wald.
@YourCRTube
@YourCRTube Жыл бұрын
Good example, esp. with the chain effect with optional
@ggladilov
@ggladilov Жыл бұрын
Is it the same with -O3? What does destructing an empty object mean? Would empty struct optimisation interfere here?
@andreas_fertig
@andreas_fertig Жыл бұрын
The example is too simple for the compiler with -O3. Still, in a code base that does something with the optional, it depends on the compiler's ability to see through it. In the worst case, the compiler performs a call to an empty destructor. That might not cost much, but the costs increase if it affects caching because the destructor is not in the hot cache.
C++ Insights - Episode 40: The traps of returning references
9:08
Andreas Fertig
Рет қаралды 1,1 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
zig will change programming forever
9:34
Low Level
Рет қаралды 405 М.
C++ Insights - Episode 42: C++20: When is a struct an aggregate
4:52
Understand Assembly low-level programming in 22 minutes
22:08
Alisa Esage Шевченко
Рет қаралды 12 М.
15 Years Writing C++ - Advice for new programmers
4:04
SyncMain
Рет қаралды 1,3 МЛН
"BEST C++ CODE ever written" // Code Review
27:38
The Cherno
Рет қаралды 123 М.
Python laid waste to my C++!
17:18
Sheafification of G
Рет қаралды 216 М.
Fixing Your Dictionary Problem in .NET
9:19
Nick Chapsas
Рет қаралды 27 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН