could some please explain this syntax for C++ functor
Code:
struct add_x {
  add_x(int x) : x(x) {}   // please  expain this
  int operator()(int y) { return x + y; } // and this
I was interested is the colon : after add_x(int x)