[gtkmm] implicit convertsion to std::string from Glib::ustring
- From: Eric Bourque <ericb computer org>
- To: gtkmm-list gnome org
- Subject: [gtkmm] implicit convertsion to std::string from Glib::ustring
- Date: 10 Nov 2003 14:57:53 -0500
I browsed the archives and only noticed discussions about the other
direction. I'm wondering if there has been a decision to not allow:
std::string = Glib::ustring("string");
by including something like
// conversion operator to std::string
Glib::ustring::operator std::string () {
return std::string(c_str());
}
Would this wreak havoc with unintended conversions?
Cheers,
Eric
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]