Skip to main content

functor

A functor, or function object, is a class in C++ with the () operator overloaded. Functors are used a lot in the standard library to do custom comparisons. They're used in place of function pointers because sometimes you need to store a value or remember something (ie. put the functor into a special 'state' for whatever purpose), a functor can do this, a function pointer can't (without messing with global variables).
class over5 { // this class is the functor
bool operator() (int x) {
return x > 5;
}
};

std::list<int> L;

... // put a bunch of ints onto the list

over5 o5;
std::find_if(L.begin(), L.end(), o5);

// o5 will have its overloaded () operator called to check if the element in L is over 5.
by Sam Johnston July 23, 2005
mugGet the functor mug.

color-as-functor

Corollary of gesture-theory (theory-of-action) in which humans are functors and symbols are actors.

Gesture-theory implies that action is the control of space. Thus symbols human beings make--such as gestures--not human beings themselves; control space.

Color is the only actor (space-controller) that is not a symbol and also acts as a functor.
Color-as-functor implies that color precedes consciousness FROM THE FUTURE indicating that colors may be conscious (chakras).
by tomorrowtomorrow March 23, 2019
mugGet the color-as-functor mug.
Related Words

fuctor

A factor that fucks something up, or a negative factor.
Baking bread has a lot of fuctors: the measurements, the water temperature, the kneading process...
Not sure why the baby didn't sleep last night; too many fuctors.
by justlogical April 9, 2019
mugGet the fuctor mug.

functure

by Tristan Kelly January 14, 2007
mugGet the functure mug.

functoid

Fun factoid.

Often a useless piece of information, but can be used as an ice breaker to start conversation.

"Shrimps can only swim backward" or "A ball of glass will bounce higher than a ball of rubber" are both functoids.
'Snapple facts' are functoids written in the caps of Snapples.
by Deerdles January 21, 2008
mugGet the functoid mug.

Funstorm

Is a Czech Skate brand. Its very durable and is made in czech republic. It isnt mainstream and is worn by many skaters.
Dude do you have Funstorm? Yeah Cool so nice!
by Mr.Pranksta December 25, 2010
mugGet the Funstorm mug.

Fuctoring

Originally coined by software developers, fuctoring has broad business applicability. Fuctoring is the process of adding unnecessary complexity or byzantine logic and process to fight your inevitable career obsolescence. Fuctoring ensures the bulk of your work output is not usable by others in your absence.
"I know I could do this simply, but a little well-planned fuctoring will make it much harder for them to fire me."
by g-worder June 16, 2012
mugGet the Fuctoring mug.

Share this definition

Sign in to vote

We'll email you a link to sign in instantly.

Or

Check your email

We sent a link to

Open your email