sp_member
Category: Spacing options Type: multiple (ignore add remove force) Default: remove
Add or remove space around the '.' or '->' operators. Default: remove
s.m s->m
raw CPP code | sp_member=ignore | sp_member=add | sp_member=remove | sp_member=force | space sp_member=force |
---|---|---|---|---|---|
void f(){ s.m=s->m; s . m=s -> m; s . m=s -> m; } | void f(){ s.m=s->m; s . m=s -> m; s . m=s -> m; } | void f(){ s . m=s -> m; s . m=s -> m; s . m=s -> m; } | void f(){ s.m=s->m; s.m=s->m; s.m=s->m; } | void f(){ s . m=s -> m; s . m=s -> m; s . m=s -> m; } | voidf(){ s.m=s->m; s.m=s->m; s.m=s->m; } |
Take care, default is 'remove' Edited by JEAYNE
Not the best code for this option? See how to improve the .uds file used to generate these examples.