Re:C++17 Filesystem – Writing a simple file watcher
by mmisu on Monday January 14, 2019 @03:35PM
(#18906210)
Are you confusing .count with .contains ?
Re:C++17 Filesystem – Writing a simple file watcher
by wmu on Monday January 14, 2019 @03:53PM
(#18906361)
I'm saying that map.contains(x) == bool(map.count(x))
https://en.cppreference.com/w/cpp/container/unordered_map/co...