Hello All,
Just want to put up a query with regards to functors.
I read that Functor means a function with state. But what I am not able to understand is the following
, What is the sate
where is the state stored ,
and who is responsible to maintain that state the application or the compiler inherently manages that state.
Is the state accessible to the application , if it is maintained by the compiler.
If possible can somebody give me an example of funtor highlighting the state thing
Regds
Sushobh
Just want to put up a query with regards to functors.
I read that Functor means a function with state. But what I am not able to understand is the following
, What is the sate
where is the state stored ,
and who is responsible to maintain that state the application or the compiler inherently manages that state.
Is the state accessible to the application , if it is maintained by the compiler.
If possible can somebody give me an example of funtor highlighting the state thing
Regds
Sushobh
Comment