ustring dtor
- From: Piscium <groknok gmail com>
- To: gtkmm-list gnome org
- Subject: ustring dtor
- Date: Wed, 22 Sep 2010 22:00:04 +0100
I took a peek at the ustring source code. A ustring is stored like this:
std::string string_;
And this is the the ustring dtor:
ustring::~ustring()
{}
Note that it is an empty function.
I have a question, just for my own education, as I am a beginner in C++.
Why wasn't the dtor defined instead like below?
ustring::~ustring()
{string_.clear()}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]