Summary
This episode explores how whitespace is largely insignificant in C++ syntax, a trait inherited from C. Jason demonstrates how the preprocessor effectively removes whitespace during the early phases of compilation, allowing code to be formatted in ways that remain syntactically valid but potentially unreadable to humans. Using code from a previous episode on implementing std::bind_front, he shows how the same program can be restructured with minimal whitespace while maintaining functionality, though at the cost of readability.
Related C++ Standard Sections
This episode covers topics found in these sections of the C++ standard:
-
[allocator.uses]40% match -
[tuple.apply]40% match