$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-07-29 07:45:17
Ulrich Eckhardt <uli <at> doommachine.dyndns.org> writes:
>
> On Tuesday 26 July 2005 22:45, Rebooted wrote:
> > In my program I need to store a map of signals, with an integer id
> > corresponding to a signal in the map.
>
> Some kind of map<id_type, signal_type>.
> Store a smart pointer instead of the signal itself. This would even speed up
> operations on the map.
Or do
boost::ptr_map<id_type,signal_type> map;
-Thorsten