issues
search
yang-xiaofeng1101
/
yang-xiaofeng1101.github.io
杨晓峰的个人博客
1
stars
0
forks
source link
Functors | yangxiaofeng的博客
#17
Open
yang-xiaofeng1101
opened
2 years ago
yang-xiaofeng1101
commented
2 years ago
https://xiao_feng_yang993.gitee.io/2020/03/12/Functors/
C++ FunctorsAlright, what is a functor?A C++ functor is a “function-object”. In other words, it is an object that can be called and treated just like a regular function. Let’s see an example. 12345
https://xiao_feng_yang993.gitee.io/2020/03/12/Functors/