What does void(U::*)(void) mean?

后端 未结 5 1144
醉梦人生
醉梦人生 2021-01-18 12:50

I was looking at the implementation of the is_class template in Boost, and ran into some syntax I can\'t easily decipher.

    template 

        
5条回答
  •  遇见更好的自我
    2021-01-18 13:34

    It's a pointer to a member function of class U. it's quite similar to

    void(*)(void)

    but it points to a member function of class U.

提交回复
热议问题