Код: Выделить всё
template
void foo(int i)
{
return;
}
template
struct Bar {
Bar()
{
}
static int testsmf(double d)
{
return 42;
}
template
inline void testmft() const {
int i;
double longname1;
double longname2;
double longname3;
double longname4;
double longname5;
}
};
int main()
{
return 0;
}
Код: Выделить всё
template void foo(int i){ return;}
template
struct Bar {
Bar() { }
static int testsmf(double d) { return 42; }
template inline void testmft() const { int i; double longname1; double longname2; double longname3; double longname4; double longname5; }
};
int main(){ return 0;}
Код: Выделить всё
ColumnLimit: 0
AllowShortFunctionsOnASingleLine: All
Подробнее здесь: https://stackoverflow.com/questions/787 ... n-one-line