The Curious Engineer

All blogs / C++

Shafik Yaghmour's Blog

shafik.github.io

Blog about C++, C, Undefined Behavior and Compilers

C++Compilers

Posts
37 from 15 Jun 2018 to 22 Sep 2025
Posting
now and then
Kind
personal blog
Feed
https://shafik.github.io/feed.xml

2025 2

  1. Why Good Summaries are Important to a Pull Request
  2. What You Need to Know when Optimizations Changes the Behavior of Your C++ 😱

2024 1

  1. Triaging clang C++ frontend bugs

2023 2

  1. Auto Auto Auto
  2. Let's enumerate the UB

2022 3

  1. Exploring Clangs Enum implementation and How we Catch Undefined Behavior
  2. Enums In C++, Choice is Oft Beguiled
  3. C++ initialization, arrays and lambdas oh my!

2021 4

  1. The Usual Arithmetic Confusions
  2. CppCon 2021 Trip Report
  3. Down with typename
  4. Is Zero a Butterfly?

2020 3

  1. Maximal Munch and C++
  2. C++20 and [[nodiscard]] in the library
  3. CppCon 2020 Trip Report

2019 8

  1. Where to Get Started Learing C++ and What Resources to Use
  2. Exploring Undefined Behavior Using Constexpr
  3. C++ Poll for April 12th 2019, Multicharacter Literals and Invalid Escape Sequences
  4. C++ Poll for February 18th 2019, Multiple Member Functions Declarations on One Line
  5. C++ Poll for February 14th 2019, Injected Class Names
  6. C++ Poll for February 6th 2019, Alternative Tokens C and C++
  7. C++ Poll for February 3rd 2019, unsigned char and Indeterminate Values
  8. C++ Poll for January 27th 2019, std::abs and unsigned values

2018 14

  1. C++ Poll for December 29th 2018, Conditional Expressions and throw
  2. C++ Poll for December 21th 2018, The Funny Case of Casting NaN to int
  3. C++ Poll for December 20th 2018, Default Template Argument and Maximal Munch
  4. C++ Poll for December 4th 2018, New Expression and Size Conversions
  5. This is Just to Say for C++ Compilers
  6. C++ Poll for November 14th 2018, std::min and std::max and who's on first?
  7. C++ Poll for November 6th 2018, reinterpret_cast and string literals
  8. C++ Poll for September 16th 2018, Post-increment and bit-field overflow
  9. C++ Poll for August 28th 2018, Values outside of Enumerators
  10. C++ Poll for June 26th 2018, Using Aggregate Member During Aggregate Initialization
  11. C++ Poll for June 22th 2018, Which is a Valid Aliasing
  12. C++ Poll for June 18th 2018, std::vector and the Case of the Deleted Move Constructor
  13. C++ Poll for June 18th 2018, std::string and the Case of the Assigned Integer
  14. C++ Poll for June 15th 2018, C++20 gets C99 Designated Initializers (which are valid)