On Sunday, 18 March 2018 at 12:59:06 UTC, tipdbmp wrote: > 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. add "-O3" also to the compiler switches.