what is the point of functor ?

12345swordy alexanderheistermann at gmail.com
Fri Jun 22 15:18:18 UTC 2018


On Friday, 22 June 2018 at 14:06:06 UTC, Flaze07 wrote:
> recently, I visited the glossary and saw that functor exist in 
> D...I know that functor exist C++ as a way to easily allow 
> higher order function, but since D already has function and 
> delegates, is there a point to functor ?

It there for Extern(C++).


More information about the Digitalmars-d-learn mailing list