Closed dan1994 closed 5 years ago
find
methods return an iterator
which means that I will have to start adding begin
and end
methods which I don't really need. So instead of find
I'll implement count
methods that return int
and do not require iterator
comparison.
This should just call
std::unordered_map::find
on the relevant member. It would be of value when implementing thedecode
method ofHuffmanEncoderDecoder
to do searches w/o usingatT
andatU
which throw exceptions if the specific key is not in the container.