Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2006-05-07 21:03:32


Tobias Schwinger wrote:
> Another one (hope my piecemeal reports are OK):
>
> There is no "result_of::make_pair" metafunction. It is needed because of the 'detail::as_fusion_element' type transformation in "fusion::make_pair".
>
> With this
>
> // missing result metafunction for fusion::make_pair
> template<typename First, typename Second>
> struct result_of_make_pair
> {
> typedef boost::fusion::pair<First,
> typename boost::fusion::detail::as_fusion_element<Second>::type> type;
> };
>
> workaround in place fusion::pair gives a very useful context structure for folding...

Thanks! Duly noted.

Regards,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

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