Yeah, that’s confusing to read. A hashset can only contain at most one of each cheese kind, in c++20 you can write inventory.contains(cheeseName)
, before that you had to use .count
or inventory.find(cheeseName) != inventory.end()
or something like that
Note that it speaks of the “official version” in the next sentence, which seems to me like there will be inofficial versions which requires a more permissive license
But we’ll see