Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ int main()
}
```

The containers are very simple and only have the methods `get`, `erase`, `contains` and `clear`. `get` can also take any number of extra optoinal parameters which will be passed to your value's constructor if the value is not already in the container. As such, `get` is very similar to `std::map`'s `try_emplace`. For example:
The containers are very simple and only have the methods `get`, `erase`, `contains` and `clear`. `get` can also take any number of extra optional parameters which will be passed to your value's constructor if the value is not already in the container. As such, `get` is very similar to `std::map`'s `try_emplace`. For example:

```c++
#define ID(x) []() constexpr { return x; }
Expand Down Expand Up @@ -85,4 +85,4 @@ Also note, that as a static type, the contents of the `semi::static_map` will on

-Fabian

@hogliux
@hogliux