Mixin and imports

Adam D. Ruppe destructionator at gmail.com
Mon Jun 8 12:20:46 UTC 2020


On Monday, 8 June 2020 at 02:55:25 UTC, jmh530 wrote:
> In the code below, foo!fabs compiles without issue, but 
> foo!"fabs" does not because the import is not available in the 
> string mixin.

Why do you even want foo!"fabs"? Usually when I see people having 
this problem it is actually a misunderstanding of what is 
possible with the foo!fabs style - which is better in basically 
every way and can be used in most the same places.

So what's your bigger goal?


More information about the Digitalmars-d-learn mailing list