$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2008-03-24 12:13:58
Frank Mori Hess wrote:
> I'm not clear on
> what the advantage of passing a LockableRef would be over just passing a
> plain reference to a Lockable?
The Lockable that I have is a Lockable< array<int,100> >. I need
something like a Lockable<int> to pass to the function, because the
function is only interested in part of the protected data. I want some
way to reference the "parent" Lockable's mutex and a portion of its
data (element of array, field of a struct etc.)
Phil.