Re: [gtkmm] I am stuck with a C++ problem
- From: "Arvind R." <arvind acarlab com>
- To: gtkmm-list gnome org
- Cc: abt gmx de
- Subject: Re: [gtkmm] I am stuck with a C++ problem
- Date: Sat, 17 Jan 2004 09:21:39 +0530
On Thu, 15 Jan 2004, Andreas B. Thun wrote:
> Parameters::Parameters()
> {
> // Generate ParameterLines
> for (int i=0; i<10; i++)
> {
> ParameterLine pLine;
> pack_start(pLine);
Change to
// create and manage storage
ParameterLine * pLine = manage( new pLine );
pack_start( *pLine );
> }
> }
Would like to know :
How come no runtime errors? Does the new gtkmm exception handlers
neatly, quietly trap them?
- arvind r.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]