make an optional bool param for ustring's default constructor

This commit is contained in:
Dana Jansens 2003-01-16 05:20:33 +00:00
parent a8e98570cc
commit 0f7e3be6b6
2 changed files with 3 additions and 2 deletions

View file

@ -111,7 +111,8 @@ ustring::size_type utf8_byte_offset(const char* str, ustring::size_type offset,
// ustring methods // ustring methods
ustring::ustring() ustring::ustring(bool utf8)
: _utf8(utf8)
{ {
} }

View file

@ -117,7 +117,7 @@ public:
static const size_type npos = std::string::npos; static const size_type npos = std::string::npos;
ustring(); ustring(bool utf8 = true);
~ustring(); ~ustring();
// make new strings // make new strings