Does the compiler inline the predicate functions to std.algorithm.sort?
tipdbmp
email at example.com
Sun Mar 18 12:59:06 UTC 2018
I can't read assembly but it seems to me that it doesn't:
https://godbolt.org/g/PCsnPT
I think C++'s sort can take a "function object" that can get
inlined.
More information about the Digitalmars-d-learn
mailing list