[libcxx-commits] [libcxx] [libcxx] Allow string to use SSO in constant evaluation. (PR #66576)

Erich Keane via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 18 07:06:51 PDT 2023


erichkeane wrote:

> In general I really like this patch. I understand that this could be a portability problem, but given that libstdc++ and the MSVC STL already allow this, I don't think that's something we introduce. Maybe we could add a warning for this case. I think that would address any portability concerns. @AaronBallman @cor3ntin @erichkeane do you have any idea if that would be feasible?

I'm not quite sure the question here, `#warning` exists, but otherwise I'm not sure what type of warning you're looking for.

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


More information about the libcxx-commits mailing list