home  

align_typedef_func

Properties

  Category: Code alignment options (not left column spaces/tabs)
      Type: numeric [0 .. 2]
   Default: 0

Description

How to align typedef'd functions with other typedefs.

0: Don't mix them at all (default)
1: Align the open parenthesis with the types
2: Align the function type name with the other type names

Examples

raw CPP code align_typedef_func=0 align_typedef_func=1 align_typedef_func=2
typedef int&ri; typedef int*pi; typedef int&ri; typedef int*pi; typedef int&ri; typedef int*pi; typedef int&ri; typedef int*pi;
 

Not the best code for this option? See how to improve the .uds file used to generate these examples.