Few questions about staticMap

Ali Çehreli acehreli at yahoo.com
Tue Feb 26 21:43:48 UTC 2019


On 02/26/2019 10:50 AM, Mitacha wrote:

 > I checked, just out of curiosity, what is staticMap's implementation.
 > It's implemented using recursive, this made me think if there is way to
 > use static foreach instead.

I'm pretty sure staticMap was implemented way before 'static foreach'. 
Perhaps it could use non-static compile-time foreach but I don't know.

Ali



More information about the Digitalmars-d-learn mailing list