digitalmars.D.bugs - Template Parameter Default Values Bug
- berupon (19/19) May 09 2004 Compiler throws assertion failure when "typedef type" is used as templat...
Compiler throws assertion failure when "typedef type" is used as template parameter default value. below is an example code. --------------------------- // NOT OK typedef int TYPEDEF1; // OK // alias int TYPEDEF1; class TemplateClass(T, T2 = TYPEDEF1) { } alias TemplateClass!(int) Class; int main (char[][] args) { return 0; } -- berupon <yu 3dcg.ne.jp>
May 09 2004