I'm new to c++17 so sorry if I ask nonsense.
As I understand, std::invoke allows me to do something like:
std::invoke(f, arg1, arg2, ...);
Is there a scenario when it's more advantages than simply doing:
f(arg1, arg2, ...);
Aucun commentaire:
Enregistrer un commentaire