dimanche 13 août 2017

That type does "TReturnType (TParameters...)" without "(*)" declare?

In http://ift.tt/2vvjsvo there is some code snippet that uses this pattern:

template<typename TReturnType, typename... TParameters>
struct LuaContext::Pusher<TReturnType (*)(TParameters...)>
{
    typedef Pusher<TReturnType (TParameters...)> SubPusher;
...

While I recognize TReturnType (*)(TParameters...) as a function signature the signature TReturnType (TParameters...) is new to me? Is it some new lambda type introduced in c++11?

Aucun commentaire:

Enregistrer un commentaire