What is predicate in c ?

What is predicate in c++?

Last updated:12/27/2013 5:49:13 AM

2 Answers

Anonymous User
Anonymous User

Predicate is a special type of function which is used by several algorithms and containers, There are two variations of predicates: unary and binary. A unary predicate takes one argument, and a binary predicate has two arguments.

Phagu MAhato
Phagu MAhato

A predicate is any unary C++ function that returns true or false and returning Boolean

Answer