home  

sp_sizeof_ellipsis_paren

Properties

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

Description

Add or remove space between 'sizeof...' and '('.

Examples

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