enum of tuples
Van de Bugger
van.de.bugger at gmail.com
Wed Sep 26 13:15:48 PDT 2012
BTW, I use DMD64 D Compiler v2.060 on Fedora 17. ldc2 compiler
(LLVM D Compiler LDC trunk, based on DMD v2.059 and LLVM 3.0)
produces similar results:
$ ldc2 -c -w enum_of_tuples.d
enum_of_tuples.d(5): Error: template
std.typecons.Tuple!(int,"v").Tuple.opCmp does not match any
function template declaration
/usr/include/d/std/typecons.d(422): Error: template
std.typecons.Tuple!(int,"v").Tuple.opCmp(R) if (isTuple!(R))
cannot deduce template function from argument types !()(E)
enum_of_tuples.d(5): Error: template
std.typecons.Tuple!(int,"v").Tuple.opCmp does not match any
function template declaration
/usr/include/d/std/typecons.d(422): Error: template
std.typecons.Tuple!(int,"v").Tuple.opCmp(R) if (isTuple!(R))
cannot deduce template function from argument types !()(E)
More information about the Digitalmars-d-learn
mailing list