Software Engineering Bucket in Unordered map in C++ STL unordered_map::bucket for unordered map container in C++ STL is used to check if 2 elements have the same hash and hence, falls into the same bucket.