Struggling to implement parallel foreach...

Walter Bright newshound2 at digitalmars.com
Tue Jun 18 09:10:47 UTC 2019


On 6/13/2019 6:55 PM, Timon Gehr wrote:
> It's not pretty that the qualifiers have a different meaning for 
> member functions and nested functions (because the nested function meaning could 
> be useful for member functions too), but it's what we have.

Keep in mind that the address of a nested function and the address of a member 
function have the same ABI. In fact, closures are implemented as member 
functions under the hood.


More information about the Digitalmars-d mailing list