jeudi 30 janvier 2020

How to write a lambda expression for wcin in c++

I have a code like this: wistream *source = &wcin;

wcin is an object of class wistream and so the above code seems to be ok. Is there any way to write a lambda expression for wcin instead of taking its address. Can a lambda expression of an object be written?

Aucun commentaire:

Enregistrer un commentaire