I've been using this snippet of code for some testing and I understand what it does but it just occured to me I have no idea what (*) is supposed to do in this situation...
template<typename T>
using L = T(*)(T);
I've tried removing it and the code runs perfectly fine without it. I think it might have something to do with pointers but I am not sure. I use the snippet to define parameters and return value of a passed lambda function
Aucun commentaire:
Enregistrer un commentaire