safocl wrote:

In my example, **g++** generates potentially more compact code using 
`std::function_ref`, but that certainly doesn't mean it's better or more 
performant. It's a shame I can't test this for **clang++** at the moment, 
since, as far as I understand, `std::function_ref` isn't yet implemented in the 
standard library.
https://godbolt.org/z/jhGb4K5ne

https://github.com/llvm/llvm-project/pull/203042
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to