sp_ptr_type_ellipsis
Category: Spacing options Type: multiple (ignore add remove force) Default: ignore
Add or remove space between a '*' and '...'.
raw CPP code | sp_ptr_type_ellipsis=ignore | sp_ptr_type_ellipsis=add | sp_ptr_type_ellipsis=remove | sp_ptr_type_ellipsis=force | space sp_ptr_type_ellipsis=force |
---|---|---|---|---|---|
void f(int a,...){} template<T...>struct Tuple{}; /* https://en.cppreference.com/w/cpp/language/parameter_pack' */ | void f(int a,...){ } template<T...>struct Tuple {}; /* https://en.cppreference.com/w/cpp/language/parameter_pack' */ | void f(int a,...){ } template<T...>struct Tuple {}; /* https://en.cppreference.com/w/cpp/language/parameter_pack' */ | void f(int a,...){ } template<T...>struct Tuple {}; /* https://en.cppreference.com/w/cpp/language/parameter_pack' */ | void f(int a,...){ } template<T...>struct Tuple {}; /* https://en.cppreference.com/w/cpp/language/parameter_pack' */ | voidf(inta,...){ } template<T...>structTuple{}; /* https://en.cppreference.com/w/cpp/language/parameter_pack' */ |
Not the best code for this option? See how to improve the .uds file used to generate these examples.