EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: About the reference counting in GDD smart pointer
From: Andrew Johnson <[email protected]>
To: Jeff Hill <[email protected]>
Cc: [email protected], Core-Talk <[email protected]>
Date: Fri, 28 Aug 2009 12:56:18 -0500
Hi Jeff,

On Friday 28 August 2009 10:55:04 Jeff Hill wrote:
>
> Some options
> ------------

Why not add a gdd factory method to the smartGDDPointer API, so the user never 
needs to do a 'new gdd' themselves?

smartGDDPointer pDD1;	// Empty
pDD1.newGdd();		// Create one

> // the smart pointer maintains the ref count
> smartGDDPointer pDD2 = pDD1;
> smartGDDPointer pDD3 = pDD2;
> pDD2 = pDD3;

- Andrew
-- 
The best FOSS code is written to be read by other humans -- Harold Welte

Replies:
RE: About the reference counting in GDD smart pointer Jeff Hill
References:
About the reference counting in GDD smart pointer Alex . Chen
RE: About the reference counting in GDD smart pointer Jeff Hill

Navigate by Date:
Prev: RE: Status PV Gateway fixes/changes from Jeff Hill Jeff Hill
Next: RE: About the reference counting in GDD smart pointer Alex . Chen
Index: 2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: About the reference counting in GDD smart pointer Jeff Hill
Next: RE: About the reference counting in GDD smart pointer Jeff Hill
Index: 2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·