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

后端 未结 5 1142
醉梦人生
醉梦人生 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:46

    Start from U, then work inside out.

    The declared type is a pointer to a member function from class U taking void arguments and returning void.

提交回复
热议问题