$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [variant] variant member function apply_visitor( visitor ) thread-safe?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-09-08 10:48:20
AMDG
Hicham Mouline wrote:
> Is the apply_visitor() method per se thread-safe, meaning,
> if i have variant object, and i visit it from different threads at same time,
> and if i assume the visitor i write is thread-safe, my question is about
> the machinery of apply_visitor() itself, is it thread-safe?
>
The apply_visitor function itself does not modify the
variant in any way, such usage ought to be thread-safe.
In Christ,
Steven Watanabe