Error: func(const(A) a) is not callable using argument types (const(A)

Biotronic via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 30 03:37:58 PDT 2017


On Tuesday, 30 May 2017 at 10:31:24 UTC, Daniel Kozak wrote:
> import std.traits : fqn = fullyQualifiedName;

Darnit. I just googled the template and got a result talking 
about fqn!T. So yeah - this code:

import std.traits;

pragma(msg, fullyQualifiedName!ImVec2);
pragma(msg, fullyQualifiedName!(typeof(CalcTextSize(label.ptr, 
null, true))));

--
   Biotronic


More information about the Digitalmars-d-learn mailing list