smf icon indicating copy to clipboard operation
smf copied to clipboard

consistent option management

Open emaxerrno opened this issue 7 years ago • 0 comments

we have 2 types of patterns


struct foo_opts {}
struct foo {
    foo (foo_opts) {}
}

and

struct foo {
    struct opts {}
    foo(foo::opts) {}
}

for lots of filesystem components.

consistently move them inside or outside.

Same for

struct foo {
    struct opts {}
    struct metrics {}

    private:
    metrics stats_;
}

emaxerrno avatar Feb 03 '18 22:02 emaxerrno