samedi 25 juillet 2020

Is the reference returned from the function rvalue?

int a = 20;
int& fun(){
     return a;
}
int main(){
     fun();
     return 0;
}

Is the reference returned by func rvalue by itself?

Aucun commentaire:

Enregistrer un commentaire