Neil wrote:

Joshua Cranmer 🐧 wrote:

On 7/31/2013 9:19 PM, Mike Hommey wrote:

Now think of all those NS_LITERAL_STRING() and other horrible boilerplate we have.

... and my next target is s/PRUnichar/char16_t/, the last step of which basically amounts to killing NS_LITERAL_STRING. :-)

Will that include this:

public:
 template<int N>
 nsTSubstring_CharT(const char_type (&str)[N])
 : mData(str)
 , mLength(N - 1)
 , mFlags(F_TERMINATED) {}

Actually it would be neat to have a second flag there F_LITERAL which makes all assigments depend on the original string.

--
Warning: May contain traces of nuts.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to