16 Mar
2005
16 Mar
'05
12:06 a.m.
Peter Dimov wrote:
Ian McCulloch wrote:
I'm sure this has been asked before, but searching the archives I cannot find anything. Is there some tutorial material on result_of anywhere? The boost documentation simply points to n1454, which doesn't contain much in the way of examples, and the TR1 document (n1647) which has no examples at all.
Mini-result_of-tutorial:
Q: What do I write in the space marked ??? below:
template
??? apply( F f, A1 & a1, ..., An & an ) { return f( a1, ..., an ); } A:
typename result_of
::type.
Is there any way to handle implicit conversions?