Boost logo

Boost Users :

Subject: Re: [Boost-users] [MPL] no invoke<T>?
From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2011-04-03 02:00:42


Hi Noah,

On Thu, 31 Mar 2011 18:32:13 -0500, Noah Roberts <roberts.noah_at_[hidden]>
wrote:

> 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.html
>
> Is there something I'm missing?

Nope, you are right, (embarrassingly) there is no such beast. Patches are
welcome :).

-- 
Aleksey Gurtovoy
MetaCommunications Engineering

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net