• Kenton Varda's avatar
    Implement _kj suffix for string literals. · 8777008e
    Kenton Varda authored
    E.g.:
    
        "foo"_kj
    
    This literal will have type StringPtr. Although any string literal can implicitly cast to StringPtr, using the _kj suffix has the advantage that it can be constexpr.
    8777008e
string-test.c++ 8.29 KB