What is predicate in c ?

Posted by  Hugh Jackman
 6630  View(s)
Ratings:
Rate this:
What is predicate in c++?

  1. Re: What is predicate in c ?

    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.

  1. Re: What is predicate in c ?

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

Answer