|
Boost : |
From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2006-05-07 17:24:28
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...
Regards,
Tobias
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk