Skip to content

Commit

Permalink
Merge pull request #715 from Pennycook/known_identity-variables
Browse files Browse the repository at this point in the history
Highlight variable templates for known_identity
  • Loading branch information
gmlueck authored Feb 13, 2025
2 parents 30f2d95 + 5e930f2 commit 6e30d0c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13640,9 +13640,11 @@ identity value automatically in order to avoid performance penalties.

If an implementation can identify an identity value for a given combination of
accumulator type and function object type, the value is defined as a member of
the [code]#known_identity# trait class.
the [code]#known_identity# trait class and can be retrieved using the
[code]#known_identity_v# variable template.
Whether this member value exists can be tested using the
[code]#has_known_identity# trait class.
[code]#has_known_identity# trait class or the [code]#has_known_identity_v#
variable template.

[source,,linenums]
----
Expand Down

0 comments on commit 6e30d0c

Please sign in to comment.