Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2005-06-10 09:47:59


Hello Larry,

sorry for the late reply.

Larry Evans wrote:
> On 06/03/2005 08:37 AM, Tobias Schwinger wrote:
>
>> Larry Evans wrote:
>>> [...]
>>> http://cvs.sourceforge.net/viewcvs.py/boost-sandbox/boost-sandbox/boost/fields_visitor
>>
>>
>> IIRC, I have looked at this code before. A brief example (maybe in
>> form of a @code block) would be a great.
>
>
> Sorry, I don't know what a @code block is; however, I've just uploaded
> some test code to the vault in the:

I meant something like:

     //! @code
     //! <brief example>
     //! @endcode

>
> cppljevans/field_visitor_test/simple_record_field_traversal_test.zip
>
> That code shows two versions of a record:
>
> record<visitable_not>
> record<visitable_yes>
>
> the first contains fields<visitable_not,i> which are not visitable, the
> 2nd contains the the same fields except they're fields<visitable_yes,i>,
> where i=0..2. This should illustrate what's needed to make a field
> "visitable".
>
> Hope you're interested ;)
>

Downloaded it, but didn't find the time to use it, yet.

It looks "potentially useful" and having an example rather than just plain code
will help a lot getting into it.

Thanks,

Tobias


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk