home  

sp_byref_ellipsis

Properties

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

Description

Add or remove space between '&&' and '...'.

Examples

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