|
Skip to content | https://belaycpp.com/category/ufo/#content |
| https://belaycpp.com/ |
| Belay the C++ | https://belaycpp.com/ |
| Home | https://belaycpp.com/ |
| Articles | https://belaycpp.com/blog/ |
| All articles | https://belaycpp.com/blog/ |
| History of C++ | https://belaycpp.com/blog/history-of-c-miniseries/ |
| Team | https://belaycpp.com/team/ |
| Contact | https://belaycpp.com/contact/ |
| About | https://belaycpp.com/about/ |
| 🇫🇷 Français | https://fr.belaycpp.com/ |
| a = b = c, a strange consequence of operator associativity | https://belaycpp.com/2022/04/28/a-b-c-a-strange-consequence-of-operator-associativity/ |
| How to quantify technical debt inflation | https://belaycpp.com/2022/04/06/how-to-quantify-technical-debt-inflation/ |
| Who owns the memory? | https://belaycpp.com/2022/03/17/who-owns-the-memory/ |
| 3 interesting behaviors of C++ casts | https://belaycpp.com/2022/03/02/3-interesting-behaviors-of-c-casts/ |
| Constant references are not always your friends | https://belaycpp.com/2022/02/15/constant-references-are-not-always-your-friends/ |
| Bad practice | https://belaycpp.com/category/bad-practice/ |
| Code | https://belaycpp.com/category/code/ |
| Dilemma | https://belaycpp.com/category/dilemma/ |
| Good practice | https://belaycpp.com/category/good-practice/ |
| History of C++ | https://belaycpp.com/category/history-of-c/ |
| Meta | https://belaycpp.com/category/meta/ |
| UFO | https://belaycpp.com/category/ufo/ |
| a = b = c, a strange consequence of operator associativity | https://belaycpp.com/2022/04/28/a-b-c-a-strange-consequence-of-operator-associativity/ |
| 1 | https://belaycpp.com/category/ufo/#footnote1 |
| C++ Operator Precedence Table | https://en.cppreference.com/w/cpp/language/operator_precedence |
| 2 | https://belaycpp.com/category/ufo/#footnote2 |
| operator overloading – cppreference.com | https://en.cppreference.com/w/cpp/language/operators |
| 3 | https://belaycpp.com/category/ufo/#footnote3 |
| 4 | https://belaycpp.com/category/ufo/#footnote4 |
| 5 | https://belaycpp.com/category/ufo/#footnote5 |
| April 28, 2022October 23, 2025 | https://belaycpp.com/2022/04/28/a-b-c-a-strange-consequence-of-operator-associativity/ |
| UFO | https://belaycpp.com/category/ufo/ |
| Chloé Lourseyre (Author) | https://belaycpp.com/tag/chloe-lourseyre-author/ |
| Peter Fordham (Editor) | https://belaycpp.com/tag/peter-fordham-editor/ |
| 1 Comment on a = b = c, a strange consequence of operator associativity | https://belaycpp.com/2022/04/28/a-b-c-a-strange-consequence-of-operator-associativity/#comments |
| 3 interesting behaviors of C++ casts | https://belaycpp.com/2022/03/02/3-interesting-behaviors-of-c-casts/ |
| 1 | https://belaycpp.com/category/ufo/#notes |
| Compiler Explorer (godbolt.org) | https://godbolt.org/z/8c1jY84bo |
| 2 | https://belaycpp.com/category/ufo/#notes |
| Compiler Explorer (godbolt.org) | https://godbolt.org/z/jabjWfx4s |
| 3 | https://belaycpp.com/category/ufo/#notes |
| A list of bad practices commonly seen in industrial projects | https://belaycpp.com/2021/06/01/a-list-of-bad-practices-commonly-seen-in-industrial-projects/ |
| GDB online Debugger | Code, Compile, Run, Debug online C, C++ (onlinegdb.com) | https://www.onlinegdb.com/1yy8DJZCk |
| 4 | https://belaycpp.com/category/ufo/#notes |
| GDB online Debugger | Code, Compile, Run, Debug online C, C++ (onlinegdb.com) | https://www.onlinegdb.com/cIpVuNN0O |
| GDB online Debugger | Code, Compile, Run, Debug online C, C++ (onlinegdb.com) | https://www.onlinegdb.com/xACawgDWj |
| 5 | https://belaycpp.com/category/ufo/#notes |
| static_cast | https://en.cppreference.com/w/cpp/language/static_cast |
| dynamic_cast | https://en.cppreference.com/w/cpp/language/dynamic_cast |
| const_cast | https://en.cppreference.com/w/cpp/language/const_cast |
| reinterpret_cast | https://en.cppreference.com/w/cpp/language/reinterpret_cast |
| *_pointer_cast | https://en.cppreference.com/w/cpp/memory/shared_ptr/pointer_cast |
| Explicit type conversion – cppreference.com | https://en.cppreference.com/w/cpp/language/explicit_cast |
| Coding Standards, C++ FAQ (isocpp.org) | https://isocpp.org/wiki/faq/coding-standards#pointer-casts |
| Assembly shows copy constructor is called (godbolt.org) | https://godbolt.org/z/8c1jY84bo |
| Assembly shows that 3 conversion constructors are called (godbolt.org) | https://godbolt.org/z/jabjWfx4s |
| Trying to cast a struct into another in C (onlinegdb.com) | https://www.onlinegdb.com/1yy8DJZCk |
| Pointer casting in C (onlinegdb.com) | https://www.onlinegdb.com/cIpVuNN0O |
| Const cast in C (onlinegdb.com) | https://www.onlinegdb.com/xACawgDWj |
| March 2, 2022 | https://belaycpp.com/2022/03/02/3-interesting-behaviors-of-c-casts/ |
| UFO | https://belaycpp.com/category/ufo/ |
| Chloé Lourseyre (Author) | https://belaycpp.com/tag/chloe-lourseyre-author/ |
| Peter Fordham (Editor) | https://belaycpp.com/tag/peter-fordham-editor/ |
| 2 Comments on 3 interesting behaviors of C++ casts | https://belaycpp.com/2022/03/02/3-interesting-behaviors-of-c-casts/#comments |
| Yet another reason to not use printf (or write C code in general) | https://belaycpp.com/2021/08/31/yet-another-reason-to-not-use-printf-or-write-c-code-in-general/ |
| @jckarter | https://twitter.com/jckarter |
| pic.twitter.com/vZigQW4O0h | https://t.co/vZigQW4O0h |
| August 27, 2021 | https://twitter.com/jckarter/status/1431284059729108992?ref_src=twsrc%5Etfw |
| https://godbolt.org/z/c6Me7a5ee | https://godbolt.org/z/c6Me7a5ee |
| https://godbolt.org/z/5YKEdj73r | https://godbolt.org/z/5YKEdj73r |
| https://godbolt.org/z/5YKEdj73r | https://godbolt.org/z/5YKEdj73r |
| https://godbolt.org/z/jjeca8qd7 | https://godbolt.org/z/TG89PeWad |
| x86-64.pdf (lri.fr) | https://www.lri.fr/~filliatr/ens/compil/x86-64.pdf |
| Streaming SIMD Extensions – Wikipedia | https://en.wikipedia.org/wiki/Streaming_SIMD_Extensions |
| printf, fprintf, sprintf, snprintf, printf_s, fprintf_s, sprintf_s, snprintf_s – cppreference.com | https://en.cppreference.com/w/c/io/fprintf |
| August 31, 2021 | https://belaycpp.com/2021/08/31/yet-another-reason-to-not-use-printf-or-write-c-code-in-general/ |
| Bad practice | https://belaycpp.com/category/bad-practice/ |
| UFO | https://belaycpp.com/category/ufo/ |
| Chloé Lourseyre (Author) | https://belaycpp.com/tag/chloe-lourseyre-author/ |
| 12 Comments on Yet another reason to not use printf (or write C code in general) | https://belaycpp.com/2021/08/31/yet-another-reason-to-not-use-printf-or-write-c-code-in-general/#comments |
| About sizes | https://belaycpp.com/2021/08/12/about-sizes/ |
| std::numeric_limits – cppreference.com | https://en.cppreference.com/w/cpp/types/numeric_limits |
| Fixed width integer types (since C++11) – cppreference.com | https://en.cppreference.com/w/cpp/types/integer |
| Fundamental types – cppreference.com | https://en.cppreference.com/w/cpp/language/types |
| August 12, 2021 | https://belaycpp.com/2021/08/12/about-sizes/ |
| UFO | https://belaycpp.com/category/ufo/ |
| Chloé Lourseyre (Author) | https://belaycpp.com/tag/chloe-lourseyre-author/ |
| 6 Comments on About sizes | https://belaycpp.com/2021/08/12/about-sizes/#comments |
| Lambdas as const ref | https://belaycpp.com/2021/05/25/lambdas-as-const-ref/ |
| Initialization of references (C++ only) – IBM Documentation | https://www.ibm.com/docs/en/xcfbg/121.141?topic=initializers-initialization-references-only |
| C++ Insights (cppinsights.io) | https://cppinsights.io/ |
| Quick C++ Benchmarks (quick-bench.com) | https://quick-bench.com/ |
| C++ Build Benchmarks (build-bench.com) | https://build-bench.com/ |
| May 25, 2021 | https://belaycpp.com/2021/05/25/lambdas-as-const-ref/ |
| UFO | https://belaycpp.com/category/ufo/ |
| Chloé Lourseyre (Author) | https://belaycpp.com/tag/chloe-lourseyre-author/ |
| Leave a comment on Lambdas as const ref | https://belaycpp.com/2021/05/25/lambdas-as-const-ref/#respond |
| windows.h breaks the standard library (and my will to live) | https://belaycpp.com/2021/05/11/windows-h-breaks-the-stl-and-my-will-to-live/ |
| May 11, 2021 | https://belaycpp.com/2021/05/11/windows-h-breaks-the-stl-and-my-will-to-live/ |
| UFO | https://belaycpp.com/category/ufo/ |
| Chloé Lourseyre (Author) | https://belaycpp.com/tag/chloe-lourseyre-author/ |
| 4 Comments on windows.h breaks the standard library (and my will to live) | https://belaycpp.com/2021/05/11/windows-h-breaks-the-stl-and-my-will-to-live/#comments |
|
Proudly powered by WordPress | https://wordpress.org/ |