cppforever.com

Token rules

Examples of valid adjacency

if(x==y) { return; } // No space needed between (), {}, or operators

Tokens That Don’t Require Whitespace

These punctuation tokens can appear directly next to other tokens: