|
Boost Users : |
Subject: Re: [Boost-users] [variant] variant member function apply_visitor( visitor ) thread-safe?
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2008-09-08 11:30:11
Steven,
so you mean there are no VTable fakes inside as it is suggested by Andrei
and in fact an additional numeric type identifier is stored? Which type from
the type list is stored?
Thanks,
Ovanes
On Mon, Sep 8, 2008 at 5:23 PM, Steven Watanabe <watanabesj_at_[hidden]>wrote:
> AMDG
>
> Ovanes Markarian wrote:
>
>> my only concern would be to evaluate how the variant behaves in MT
>> environment. Especially if the implementation uses VTable idiom to avoid
>> additional level of indirection.
>>
>
> Boost.Variant uses a switch statement to dispatch.
>
>
> In Christ,
> Steven Watanabe
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net