jeudi 14 juillet 2016

What does it mean to inherit from lambda?


Found this code which looks to be interesting:

auto a = [](){};

class B : decltype(a)
{
};

I want to know what it does. Can this be useful in any way?


Aucun commentaire:

Enregistrer un commentaire