home  

sp_ellipsis_parameter_pack

Properties

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

Description

Add or remove space between '...' and a parameter pack.

Examples

raw CPP code sp_ellipsis_parameter_pack=ignore sp_ellipsis_parameter_pack=add sp_ellipsis_parameter_pack=remove sp_ellipsis_parameter_pack=force space
sp_ellipsis_parameter_pack=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.