-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 3.3.8
-
Component/s: Internal Code
-
None
-
Fully Compatible
-
Platforms 16 (06/24/16)
Providing a user defined literal constructor for string data will allow us to remove the LiteralTag api, while retaining a constructor that's compile time and can detect embedded nulls.
Compare
StringData("foo", StringData::LiteralTag())
to
"foo"_sd