
1 Apr
2011
1 Apr
'11
6:06 p.m.
On 4/1/2011 9:28 AM, Krzysztof Czainski wrote:
2011/4/1 Noah Roberts <roberts.noah@gmail.com <mailto:roberts.noah@gmail.com>>
I had to write an invoke metafunction because I couldn't seem to find one that looked like it was what I needed:
template < typename MF > struct invoke { typedef typename MF::type type; };
I've looked through the documentation TOC: http://www.boost.org/doc/libs/1_42_0/libs/mpl/doc/refmanual/refmanual_toc.ht...
Is there something I'm missing?
How do you intend to use invoke?
template < typename Sq > // Sq is full of metafunctions struct do { typedef typename fold < Sq , start_state , funky<invoke<_2>,_1>
::type };