Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Language/Templates/Traits/UnaryPredicateTraits

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

A "predicate trait" is a boolean value based on some characteristic of a type. C++ provides many built-in "dummy templates" for a variety of these characteristics (e.g., std::is_floating_point<int>::value resolves to false at compile-time). Additional information about unary predicate traits (includes interactive examples)