Changeset 21435 in vbox for trunk/include
- Timestamp:
- Jul 9, 2009 12:23:15 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49830
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/string.h
r21409 r21435 91 91 #endif 92 92 93 Bstr (const Utf8Str&that);93 Bstr (const iprt::MiniString &that); 94 94 Bstr (const char *that); 95 95 … … 601 601 // inlined Bstr members that depend on Utf8Str 602 602 603 inline Bstr::Bstr (const Utf8Str &that) : bstr (NULL) { raw_copy (bstr, that); } 604 inline Bstr::Bstr (const char *that) : bstr (NULL) { raw_copy (bstr, that); } 605 606 inline Bstr &Bstr::operator = (const Utf8Str &that) 603 inline Bstr::Bstr(const iprt::MiniString &that) 604 : bstr(NULL) 605 { 606 raw_copy(bstr, that.c_str()); 607 } 608 609 inline Bstr::Bstr(const char *that) 610 : bstr(NULL) 611 { 612 raw_copy(bstr, that); 613 } 614 615 inline Bstr &Bstr::operator=(const Utf8Str &that) 607 616 { 608 617 setNull(); 609 raw_copy 618 raw_copy(bstr, that); 610 619 return *this; 611 620 } 612 inline Bstr &Bstr::operator =(const char *that)621 inline Bstr &Bstr::operator=(const char *that) 613 622 { 614 623 setNull(); 615 raw_copy 624 raw_copy(bstr, that); 616 625 return *this; 617 626 }
Note:
See TracChangeset
for help on using the changeset viewer.