dblaikie added a comment. Could we have this as a standalone helper function (STLExtras or the like) rather than implementing it in every container? Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D67668/new/ https://reviews.llvm.org/D67668