fullyQualifiedName doesn't work with SortedRange

Timothee Cour thelastmammoth at gmail.com
Mon Mar 25 22:47:58 PDT 2013


why doesn't this compile?
----
import std.traits;
import std.algorithm;

void main(){
    auto a=sort([1]);
    enum t=fullyQualifiedName!(typeof(a));
    pragma(msg,t);
}
----
CT error: std/traits.d(298): Error: forward reference of variable parentPrefix

Timothee Cour


More information about the Digitalmars-d-learn mailing list