What does ::* mean in C++?

前端 未结 2 686
忘掉有多难
忘掉有多难 2021-02-04 07:42

What does

 private:
    BOOL (LASreader::*read_simple)();

mean?

It\'s from LAStools, in lasreader.hpp

BOOL is a

2条回答
  •  [愿得一人]
    2021-02-04 08:20

    BOOL (LASreader::*read_simple)();
    

    read_simple is a pointer to a member function of class LASreader that takes no arguments and returns a BOOL.

提交回复
热议问题