Re: [gtkmm] I am stuck with a C++ problem



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]