samedi 27 mai 2017

how to use C++11 std::is_member_object_pointer in type_traits?

struct A { int x; };

int main() {
    int A::* pt = &A::x;
    return 0;
}

what does int A::* mean exactly ? I have never see C++ syntax like this.

Aucun commentaire:

Enregistrer un commentaire