Typefunctions: alias[] can now be transformed to tuple

Nick Treleaven nick at geany.org
Tue Oct 6 13:31:05 UTC 2020


On Tuesday, 6 October 2020 at 09:01:00 UTC, Stefan Koch wrote:
> I always intended to have type function returns transform 
> themselves automatically into tuples when they are leaving the 
> last level of CTFE calls, but that's not only tricky to 
> implement, that's also a rather bad idea ;)

Is it tricky because functions can't return tuples? Why would it 
be a bad idea? Just curious.

Also should an alias sequence (type tuple) implicitly convert to 
an alias[]? I expect that would require copying too.


More information about the Digitalmars-d mailing list