TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
C++ Coding Standard
Search

Rule:  STY#013Checked automatically with code checker

This rule is Obsolete
Synopsis:Do use spaces before and after binary and ternary operators.
Language:C++
Severity Level:10
Category:Style


Description:

This gives a uniform appearance to the code.

Examples:

a = b + c
a <<= b
if (b1 && b2)
int y = f ? a : b;

Exception: member selection operator "." and pointer operator ->, see also [STY#012].