Eponymous template member from a template mixin

Yuxuan Shui yshuiv7 at gmail.com
Sat Aug 4 20:10:06 UTC 2018


This doesn't work:

template A() {
	void B() {};
}
template B() {
	mixin A!();
}
void main() {
	B!()();
}

Is this intentional?


More information about the Digitalmars-d-learn mailing list