
22 Jul
2010
22 Jul
'10
5:42 p.m.
I would like to return an adapted Boost.Range from a function and would like to know what return type to put for the function. In my case, I am wrapping a counting_range with transformed(). Is there a metafunction to compute these return types? Should I just be using boost::result_of? The result_of expression is very long because of the nesting (though of course a typedef can help with the inner parts of that). Thank you for your help. -- Jeremiah Willcock