sp_angle_paren
Add or remove space between > and ( as found in new List<byte>(foo);.
Possible values are ignore, add, remove and force.
Note, this option does not work if constructor has no parameters; that's a special case for sp_angle_paren_empty.
Examples
In both examples only first line gets modified. Second is not changed because of empty ().
Add
Before:
std::list<int> *lp = new std::list<int>(10);
std::list<int> *lpe = new std::list<int>()
After
std::list<int> *lp = new std::list<int> (10);
std::list<int> *lpe = new std::list<int>()
Remove
Before
std::list<int> *lp = new std::list<int> (10);
std::list<int> *lpe = new std::list<int> ()
After
std::list<int> *lp = new std::list<int>(10);
std::list<int> *lpe = new std::list<int> ()
See also
- sp_angle_word - Add or remove space between
>and a word as inList<byte> m;ortemplate <typename T> static .... - sp_angle_paren_empty - Add or remove space between
>and()as found innew List<byte>();.