home  

sp_after_ellipsis

Properties

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

Description

Add or remove space after the variadic '...' when preceded by a
non-punctuator.
The value REMOVE will be overridden with FORCE

Examples

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