compile-time opIndex

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 31 13:41:18 PST 2014


On Wednesday, 31 December 2014 at 21:37:37 UTC, H. S. Teoh via 
Digitalmars-d wrote:
> Very nice! Now make it work for int* and string*, but indexing 
> the tuple
> returns (non-pointer) int and string. This is the original use 
> case that
> prompted this ER, btw, so if it can't be achieved, then we 
> haven't
> solved anything.

My original point was that it shouldn't be done even if it can be 
done.


More information about the Digitalmars-d mailing list