Message: Re: Using shared_ptr (from the boost library) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Using shared_ptr (from the boost library) 

Forum: Installation and Configuration
Re: None Using shared_ptr (from the boost library)
Date: 21 Nov, 2007
From: Gabriele Cosmo <Gabriele Cosmo>

Hi Peter,

> it seems that in a G4 application, one always says "new" but never tidies up

can you please better elaborate this statement you make ?

Of course, in a user application one is free to do whatever for memory management
(also use Boost in case), but for what concerns the Geant4 kernel, memory dynamically
allocated is tied up, of course, otherwise you won't be able to simulate too many events
I'm afraid .....

Gabriele

++ No Boost goodies are used within Geant4...

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Using shared_ptr (from the boost library)   (Peter Niessen - 21 Nov, 2007)
(_ More: Re: Using shared_ptr (from the boost library)   (Gabriele Cosmo - 21 Nov, 2007)
(_ None: Re: Using shared_ptr (from the boost library)   (Peter Niessen - 21 Nov, 2007)
 Add Message Add Message
to: "Re: Using shared_ptr (from the boost library)"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]