Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inconsistent terminology: "key equality" predicate" versus "key equality function" #630

Closed
zygoloid opened this issue Mar 3, 2016 · 0 comments
Assignees

Comments

@zygoloid
Copy link
Member

zygoloid commented Mar 3, 2016

from mclow:

In the tables, the term is "key equality predicate"
In the text, the term used is "key equality function"

Should pick one and use it everywhere.

  • Page 769: …alled the key equality predicate of the container. 5 Two values k1 and k…
  • Page 769: …ntainer’s key equality predicate returns true when passed those values.…
  • Page 770: …eq as the key equality predicate. § 23.2.5 770 ⃝c ISO/IEC N4567 Table 1…
  • Page 771: …() as the key equality predicate. X(n) X X a(n) Requires: hasher and…
  • Page 771: …() as the key equality predicate. X() X X a Requires: hasher and key_…
  • Page 771: …() as the key equality predicate. constant X(i, j, n, hf, eq) X a(i,…
  • Page 771: …eq as the key equality predicate, and inserts elements from [i, j) into…
  • Page 772: …() as the key equality predicate, and inserts elements from [i, j) into…
  • Page 772: …() as the key equality predicate, and inserts elements from [i, j) into…
  • Page 772: …() as the key equality predicate, and inserts elements from [i, j) into…
  • Page 773: …turns b’s key equality constant predicate. a_uniq. pair<iterator, boo…
  • Page 833: …function, key equality function, and allocator, and using at least n buc…
  • Page 833: …function, key equality func- tion, and allocator, and using at least n b…
  • Page 838: …function, key equality function, and allocator, and using at least n buc…
  • Page 838: …function, key equality function, and allocator, and using at least n buc…
  • Page 842: …function, key equality function, and allocator, and using at least n buc…
  • Page 842: …function, key equality func- tion, and allocator, and using at least n b…
  • Page 846: …function, key equality function, and allocator, and using at least n buc…
  • Page 846: …function, key equality function, and allocator, and using at least n buc…

"key equality predicate" seems more precise (it is a predicate and is not necessarily a function).

jensmaurer added a commit to jensmaurer/draft that referenced this issue Dec 14, 2016
Replaces occasional uses of 'key equality function'.

Fixes cplusplus#630.
@jensmaurer jensmaurer self-assigned this Dec 14, 2016
tkoeppe pushed a commit that referenced this issue Dec 14, 2016
Replaces occasional uses of 'key equality function'.

Fixes #630.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants