[libcxx-commits] [libcxx] Add lifetimebound to std::basic_string::operator std::string_view (PR #112614)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Oct 16 23:32:22 PDT 2024
higher-performance wrote:
In principle I would probably wish to see both implemented, since this would similarly work with compilers other than Clang (assuming `_LIBCPP_LIFETIMEBOUND` is redefined appropriately).
But I do see why the built-in solution is preferable currently. I just implemented it this way because the fix was trivial and we would have it working immediately. If you don't mind delaying having a solution then feel free not to merge - up to you.
https://github.com/llvm/llvm-project/pull/112614
More information about the libcxx-commits
mailing list