FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Correction for named Functor As it was creating confusion and may mislead new learners. by Subh85330 · Pull Request #65 · BehaviorTree/btcpp_website · GitHub

Correction for named Functor As it was creating confusion and may mislead new learners. - #65

Open
Subh85330 wants to merge 1 commit into
BehaviorTree:masterfrom
Subh85330:patch-2
Open

Subh85330 wants to merge 1 commit into
BehaviorTree:masterfrom
Subh85330:patch-2

Conversation

Copy link
Copy Markdown

name functor is removed for function pointer, as it is defined for a class/struct which overloads function call operator '(…c)'.

In C++, a function pointer is not a "functor" in the common C++ sense, but both are types of callable objects. A functor (function object) is specifically a class or struct that overloads the function call operator()

…class/struc which overloads function call operator '()'.

In C++, a function pointer is not a "functor" in the common C++ sense, but both are types of callable objects. A functor (function object) is specifically a class or struct that overloads the function call operator()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL