how to use a specific comparetor function with set as a class member

后端 未结 0 794
孤独总比滥情好
孤独总比滥情好 2020-12-09 08:34

i have have a class with a set of object pointers and i want to save theme in sorted order by their some field(id). i have this block in my main code :

std::s         


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