Changes between Version 1 and Version 2 of Support/KnowledgeBase/Functor

Show
Ignore:
Timestamp:
06/07/08 18:19:44 (6 years ago)
Author:
osg (IP: 199.209.144.16)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Support/KnowledgeBase/Functor

    v1 v2  
    33 
    44A Functor is a class (in OSG a C++ class of course) which has a definition of the 
    5 operator ().  That is a functor is any class which could be used as a function.  
     5operator ().  That means a functor is any class which could be used as a function.  
    66 
    7 Of course the functor can then access or use any member variables of the class. A (non-const) functor could modify the values of member variables, but this is deprecated as the source of modification of the value is not obvious to the 
    8 developer. 
     7Of course, the functor can then access or use any member variables of the class. A (non-const) functor could modify the values of member variables, but this is deprecated as the source of modification of the value is not obvious to the developer.