$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [thread] lock(Iterator,Iterator) bug?
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2009-08-19 11:34:21
Another question. Mutex supposed to be noncopyble. How are going to create
vector<mutex> and fill it with mutex instances?
On Wed, Aug 19, 2009 at 4:17 PM, <strasser_at_[hidden]> wrote:
> this example:
>
> vector<mutex> vec;
> lock(vec.begin(),vec.end());
>
> fails on gcc 4.3.2, complaining that the vector iterator doesn`t have
> members named, lock(), unlock(), ...
>
>