Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
vmarsy
· 11y ago · 0 comments
No, sum_f is a
functor
, only its operator() is overloaded to receive 2 parameters, the constructor of the struct is a default constructor that takes no argument.
http://www.cprogramming.com/tutorial/functors-function-objec...
Comments
[–]
hun-nemethpeter
11y ago
Oops.. Yes, you are right.