Home > Back-end >  C in the STL functors
C in the STL functors

Time:11-25

In vs is what the map using the copy function is an error, the file xuitility illegal expression

CodePudding user response:

Try
Boolean operator () const (int a, int b)

CodePudding user response:

Boolean operator () (int a, int b) const

CodePudding user response:

refer to the second floor truth is right or wrong response:
Boolean operator () (int a, int b) const

Need to add const
  • Related