Summary
This episode explores GCC's compiler-specific -fimplicit-constexpr flag, which automatically makes inline functions constexpr if they satisfy the requirements. Jason demonstrates how this non-standard extension allows code that would normally require explicit constexpr declarations to compile without them. He also reminds viewers about the implicit constexpr behavior of lambdas introduced in C++17.
Related C++ Standard Sections
This episode covers topics found in these sections of the C++ standard:
-
[constexpr.functions]66% match