[Openmp-commits] [openmp] [libomp] Add kmp_str_ref (ADT 1/2) (PR #176162)

Robert Imschweiler via Openmp-commits openmp-commits at lists.llvm.org
Thu Jan 15 08:43:33 PST 2026


ro-i wrote:

Hm, idk. First, `std::string_view` doesn't provide such a nice interface, compared with `llvm::StringRef`. Sure, I could do a mixture of `std::string_view` and convenience wrappers. But, and that's the second point, I don't think it's guaranteed that `std::string_view` is header-only. So it wouldn't be very portable and/or if an implementation changes in the future, that would also be annoying.

https://github.com/llvm/llvm-project/pull/176162


More information about the Openmp-commits mailing list