Skip to content

Commit

Permalink
Version 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Jan 12, 2024
1 parent 5aaddfd commit e24ac09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Hashmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#ifndef LOUIERIKSSON_HASHMAP_H
#define LOUIERIKSSON_HASHMAP_H

#include <cstddef>
#include <functional>
#include <stdexcept>
#include <vector>
Expand Down Expand Up @@ -412,4 +413,4 @@ namespace LouiEriksson {

} // LouiEriksson

#endif //LOUIERIKSSON_HASHMAP_H
#endif //LOUIERIKSSON_HASHMAP_H
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# C++ Hashmap (1.0.1)
# C++ Hashmap (1.0.2)

## Table of Contents

Expand Down Expand Up @@ -52,10 +52,12 @@ This implementation is header-only. Simply include it in your project and you ar

The hashmap was written in C++17 and utilises the following standard headers:

#### &lt;cstddef&gt;
This header is used for [size_t](https://en.cppreference.com/w/c/types/size_t), which is used to represent the size of the container.

#### &lt;functional&gt;
This header is used for [std::hash](https://en.cppreference.com/w/cpp/utility/hash), which allows for generic hashing of C++ types. Developers can also provide custom specializations for their own types.


#### &lt;stdexcept&gt;
This header is used for [std::runtime_error](https://en.cppreference.com/w/cpp/error/runtime_error), which enables the script to throw meaningful exceptions.

Expand All @@ -64,4 +66,4 @@ This header is used for [std::vector](https://en.cppreference.com/w/cpp/containe

### References

- Wang, Q. (Harry) (2020). Implementing Your Own HashMap (Explanation + Code). YouTube. Available at: https://www.youtube.com/watch?v=_Q-eNqTOxlE [Accessed 2021].
- Wang, Q. (Harry) (2020). Implementing Your Own HashMap (Explanation + Code). YouTube. Available at: https://www.youtube.com/watch?v=_Q-eNqTOxlE [Accessed 2021].

0 comments on commit e24ac09

Please sign in to comment.