E D R , A S I H C RSS

Functor

BuildingParserWithJava를 보다가 12장ì—�서 처ì�Œ 접한 단어. FunctionObject를 ë€ë¥´ëŠ” ë§�ì�´ë‹¤.
----
from Wikipedia:

A function object, often called a functor, is a computer programming construct allowing an object to be invoked or called as if it were an ordinary function, usually with the same syntax. The exact meaning may vary among programming languages. A functor used in this manner in computing bears little relation to the term functor as used in the mathematical field of category theory.

비슷한 구현ì—� 대해서 OO 쪽ì—�서는 MethodObject ë�¼ ë€ë¥´ê¸°ë�„ 함. (Refactoringì—� 나옴) 구현 모양ìƒ�으로 ë³´ë©´ CommandPattern, C++ ì§„ì˜�ì—�서는 Functor ê°€ ì�¼ë°˜ì �ì�¸ 표현.; --1002
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:23:17
Processing time 0.0068 sec