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

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

A "trait" is information about some type, which is available to the compiler at compile-time (because it is expressed either as a static-data-member or as a type alias). Traits are often used to guide the decision-making within template-metaprogramming. Unary Predicate Traits Binary Predicate Traits Array Traits Unary Transform Traits Binary Transform Traits S.F.I.N.A.E. Conditional-Compilation