[PATCH] D26332: Add a user-defined literal for StringRef

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 09:01:43 PST 2016


zturner added a comment.

If the goal here is to achieve constexprness so it doesn't require a static initializer, how about reviving Mehdi's patch which make the const char * constructor explicit, and then adding a constexpr char array constructor?


https://reviews.llvm.org/D26332





More information about the llvm-commits mailing list