home  

sp_member

Properties

  Category: Spacing options
      Type: multiple (ignore add remove force)
   Default: remove

Description

Add or remove space around the '.' or '->' operators.

Default: remove
s.m
s->m

Examples

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; }
 

Info

  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.