dimanche 24 janvier 2016

Combining prefix &* operations in C++

In the answer to How to pass an initializer list as a function argument?, I see the expression:

return WaitForMultipleObjects(
    handles.size(), &*handles.begin(), wait_all, time
);

What's the point of the &*? Would the call have the same meaning without it?

Aucun commentaire:

Enregistrer un commentaire