Although there are many different formatting styles to choose from, preference is typically the confounding factor for what any one person or team chooses.
The most commonly used formatting style for C++ programming is ANSI or Allman.
Teams at Google have their own formatting guidelines, and there are many public Style Guides out there that you can try out.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence