search of a workaround

Namespace rswhite4 at googlemail.com
Sat Feb 9 14:23:05 PST 2013


It seems your template has problems with this:

struct A { }

class B {
public:
	const int bar(ref A a) {
		return 42;
	}
	
	mixin(rvalue!(bar));
}

remove the 'const' and it works fine.


More information about the Digitalmars-d-learn mailing list