Boost logo

Boost Users :

Subject: Re: [Boost-users] [MPL] no invoke<T>?
From: Krzysztof Czainski (1czajnik_at_[hidden])
Date: 2011-04-01 12:28:38

2011/4/1 Noah Roberts <roberts.noah_at_[hidden]>

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

How do you intend to use invoke?

The way I understand it, invoke<MF> would be equivalent to MF itself.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at