eternal
eternal copied to clipboard
A C++14 compile-time/constexpr map and hash map with minimal binary footprint
Hi, this minor change allows using eternal with cmake's `Fetch_Conent` or alternatively [CPM](https://github.com/cpm-cmake/CPM.cmake). The current way that the include folder are specified means that an including cmake project will be...
Kind of strange it hasn't been caught before, but using `CMAKE_SOURCE_DIR` always refers to the root-most CMake project, not the Eternal directory (wherever it might exist). Changing it to `CMAKE_CURRENT_SOURCE_DIR`...
Thanks for this library - this is great stuff - very useful to me! I'm using hash_map where I want the key of the hash to be an int, and...
Incorporating @jan-moeller's suggestion from #2. There are a few caveats with this: I changed the `value_type` to `typename Element::value_type`. The `element` wrapper is used for custom comparisons inside an `eternal::map`,...
- Templated `str_*` helpers with `CharT` argument - Introduces `mapbox::eternal::basic_string` and provides `string`/`wstring` aliases with `CharT` = `char`/`wchar_t`.