jeudi 9 juillet 2020

What is type of auto return type in classes with anonymos type?

In this code:

struct
{
    auto operator[](const char*)
    {
        return *this;
    }

}m_some_class;

What is type of auto in here ?

Aucun commentaire:

Enregistrer un commentaire