[Xorp-hackers] RefPtr in xorp
Bruce M. Simpson
bms at icir.org
Mon Feb 4 23:39:47 PST 2008
Router Switch wrote:
> hi XORP hackers,
>
> can anybody explain what is the significance of RefPtr in the
> following statement:-
> typedef XorpCallback1<void, const XrlError&>::RefPtr AddRoute4CB;
Callback functor objects should be refcounted to ensure that they are
freed, even if their last reference is held outside of the scope where
they were instantiated.
More information about the Xorp-hackers
mailing list