std.traits.ParameterIdentifierTuple problem

Nick Treleaven nick at geany.org
Mon Apr 1 18:28:16 UTC 2024


On Sunday, 31 March 2024 at 23:05:44 UTC, Carl Sturtivant wrote:
>> Yes, it's not possible to instantiate a function type.
>
> But with extern it seems the semantics is fine as a function is 
> not being instantiated. It is merely associating a name with a 
> type: in what sense is this instantiation in any reasonable way?

Yes there is no instantiation for extern. But what would be the 
use of allowing an extern function type instance, when there's no 
way to instantiate it?


More information about the Digitalmars-d-learn mailing list