AW: [gtkmm] struct ustring::SequenceToString<In,char> : public st d::string
- From: "Hopfes, Harald" <Harald Hopfes Hopfes sysde eads net>
- To: "'murrayc usa net'" <murrayc usa net>
- Cc: "'gtkmm-list gnome org'" <gtkmm-list gnome org>
- Subject: AW: [gtkmm] struct ustring::SequenceToString<In,char> : public st d::string
- Date: Mon, 26 Aug 2002 10:50:31 +0200
You missunderstood me.
std::string is a final class (or at leased it is indented to be a final
class),
but the template ustring::SequenceToString<In,char> is derived from it
(std::string),
but nothing should be derived from std::string.
I am trying to solve Bug http://bugzilla.gnome.org/show_bug.cgi?id=78578
which is very important to be solved for our project.
Harald
############################################################################
#####
template <class In>
struct ustring::SequenceToString<In,char> : public std::string
{
SequenceToString(In pbegin, In pend);
};
template <class In>
struct ustring::SequenceToString<In,gunichar> : public std::string
{
SequenceToString(In pbegin, In pend);
};
template <>
struct ustring::SequenceToString<Glib::ustring::iterator,gunichar> : public
std::string
{
SequenceToString(Glib::ustring::iterator pbegin, Glib::ustring::iterator
pend);
};
template <>
struct ustring::SequenceToString<Glib::ustring::const_iterator,gunichar> :
public std::string
{
SequenceToString(Glib::ustring::const_iterator pbegin,
Glib::ustring::const_iterator pend);
};
############################################################################
#####
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]