Is there a way for the compiler to consider doc comments in auto generated, mixed in code?
E.g.
string fooImpl = q{
/// Bar does fancy things.
const void bar() { /*do something fancy*/ }
};
/// This is Foo
struct Foo(A, B, C) {
mixin(fooImpl);
}
So that the documentation for struct Foo
has that of the member bar()
?