ZaStoGram_desktop/tools/rules/laws/fixtures/constructor-parameter-indent/after.cpp

13 lines
172 B
C++

struct Base {
explicit Base(int) {}
};
struct Derived : Base {
Derived(int first, int second);
};
Derived::Derived(
int first,
int second)
: Base(first + second) {
}