Closed GoogleCodeExporter closed 9 years ago
string16 is an internal Chromium type defined in base/string16.h. On Windows
std::wstring is a 16 bit value so string16 is defined as std::wstring on that
platform. On Mac std::wstring is a 32 bit value so a separate string16
definition is used.
The intent currently is that client applications will use the std::string or
std::wstring types that most system libraries are designed to work with. Is
there a particular reason why you need string16 for your application?
Original comment by magreenb...@gmail.com
on 12 Apr 2011 at 6:18
> Is there a particular reason why you need string16 for your application?
Our app is envisioned as a cross-platform and string16 seemed to be a good
compromise between Mac and Win, staying consistent size across platforms. But I
guess we can settle with native strings on each platform.
It just seems inconsistent that we include a file with some methods defined and
implemented, but completely unavailable/compiled out for the app.
Original comment by azasyp...@gmail.com
on 14 Apr 2011 at 3:21
Original comment by magreenb...@gmail.com
on 15 Jul 2014 at 9:37
Original issue reported on code.google.com by
azasyp...@gmail.com
on 12 Apr 2011 at 5:55