$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Boost.Variant: Passing visitor as a function argument
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2009-09-04 01:01:17
>>   void  visit(boost::static_visitor<> const& visitor)
>> Â Â {
>> Â Â Â Â BOOST_FOREACH(Attr attr, i_attrList)
>> Â Â Â Â {
>> Â Â Â Â Â Â boost::apply_visitor(visitor, attr);
>> Â Â Â Â }
>> Â Â }
Just for note, but considering that you are asking for a static_vistor
directly, and you create a visitor by using the CRTP, this shows that
you might want to learn a little bit more about how C++ handles
classes before delving into too much more.