Boost logo

Boost :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2006-05-01 13:52:33


Andreas Pokorny wrote:
> On Mon, May 01, 2006 at 10:30:52AM -0400, Neal Becker
> <ndbecker2_at_[hidden]> wrote:
>> Ronald Garcia wrote:
>>
>>> The review of Joel de Guzman's Fusion library begins today, May 1,
>>> 2006, and continues through May 10, 2006.
>>>
>>> :Download:
>>> http://spirit.sourceforge.net/dl_more/fusion_v2.zip
>>>
>>
>> Are the docs viewable somewhere?
>
> http://spirit.sourceforge.net/dl_more/fusion_v2/libs/fusion/doc/html/index.html
>
> I guess these are current:
> "Last revised: April 28, 2006 at 08:48:02 GMT"

Assuming these are the up-to-date docs. Is the example code in the Docs:
Extension/Enabling Tag Dispatching correct?

Shouldn't:

    namespace boost { namespace fusion { namespace traits {

        template<>
        struct tag_of<example_struct>
        {
            typedef example_sequence_tag type;
        };

        template<>
        struct tag_of<example_sequence_struct const> //***
        {
            typedef example_tag type; //***
        };
    }}}

be replaced with:

    namespace boost { namespace fusion { namespace traits {

        template<>
        struct tag_of<example_struct>
        {
            typedef example_sequence_tag type;
        };

        template<>
        struct tag_of<example_struct const> //***
        {
            typedef example_sequence_tag type; //***
        };
    }}}

Jeff


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