struct comparator constructor vs operator () in c++

后端 未结 0 1022
日久生厌
日久生厌 2021-01-01 22:26

I have this code:

struct PointComparator
{
   explicit PointComparator(const Point& lowest)
      : m_lowest(lowest)
   {}
   
   bool operator()(const Po         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题