kuhar wrote: I understand c++ is doing its thing, but I think this is an example that shows it's useful to combine std::type_identity and std::identity, which is what llvm::identity does. https://github.com/llvm/llvm-project/pull/164568