sp_angle_paren_empty
Add or remove space between >
and (
as found in new List<byte>();
.
Possible values are ignore, add, remove and force.
Note, this option works only if constructor has no parameters; that's a special case for sp_angle_paren.
Examples
In both examples only second line gets modified. Second is not changed because some parameter is provided to constructor.
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 - Add or remove space between
>
and(
as found innew List<byte>(foo);
.