Boost logo

Boost :

From: Christian Henning (chhenning_at_[hidden])
Date: 2006-12-22 13:19:42


I tried to compile the example from Michael on VC7.1 SP2. It gives my an error:

test.cpp(19) : error C2679: binary '<<' : no operator found which
takes a right-hand operand of type
'boost::fusion::pair<First,Second>::second_type' (or there is no
acceptable conversion)
        with
        [
            First=double,
            Second=std::string
        ]

Am I missing something here? Maybe a header file?

Regards,
Christian

On 12/22/06, Michael Marcin <mike_at_[hidden]> wrote:
> Cromwell Enage wrote:
> > --- Michael Marcin wrote:
> >> Did the way map works at some point get changed
> >> from fusion::at to fusion::at_key and the docs
> >> are just out of date?
> >
> > Which docs are out of date? I've always been using
> > at_key with fusion::map.
> >
>
> The docs at:
>
> CVS_HEAD
> boost/libs/fusion/doc/html/fusion/sequences/containers/map.html
>
> and
>
> http://spirit.sourceforge.net/dl_more/fusion_v2/libs/fusion/doc/html/fusion/sequences/containers/map.html
>
>
> are out of date at least... although now that I look the usage of
> fusion::map in the quickstart section uses at_key.
>
> - Michael Marcin
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>


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