mardi 23 mai 2017

What is value type of *T?

Let's consider very short piece of code in C++:

class T{
};
T *t = new T();

What is type of *t? rvalue/lvalue/xvalue/glvalue? why? Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire