nitter
Benjamin Smedberg
@nsIAnswers
24 Apr 2015
TIL: nsCSubstringTuple st = str + str + str + str; Fn(st); is not safe code. Each + creates reference to a temporary that dies before Fn.
2
1
L. David Baron @dbaron@w3c.social
@davidbaron
24 Apr 2015
Replying to
@nsIAnswers
@nsIAnswers
We should probably put the Tuple type inside some detail:: namespace to discourage callers outside string code from using it.
Apr 24, 2015 · 10:14 PM UTC