devel/frozen 1.2.0 DragonFly
Header-only, constexpr alternative to gperf for C++14 users
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- APACHE20
- Categories
- devel
- Package size
- 20.3 KiB, 100.3 KiB installed
Description
Frozen is a header-only library that provides 0 cost initialization for immutable containers, fixed-size containers, and various algorithms.
Frozen provides:
- immutable (a.k.a. frozen), constexpr-compatible versions of std::set, std::unordered_set, std::map and std::unordered_map.
- fixed-capacity, constinit-compatible versions of std::map and std::unordered_map with immutable, compile-time selected keys mapped to mutable values.
- 0-cost initialization version of std::search for frozen needles using Boyer-Moore or Knuth-Morris-Pratt algorithms.
The unordered_* containers are guaranteed perfect (a.k.a. no hash collision) and the extra storage is linear with respect to the number of keys.
Once initialized, the container keys cannot be updated, and in exchange, lookups are faster. And initialization is free when constexpr or constinit is used :-).
In the other systems
The newest version among them is 1.2.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/frozen | 1.2.0 newest | none known | - | [email protected] | - |
| FreeBSD | devel/frozen | 1.2.0 newest | none known | - | [email protected] | - |
| NetBSD | devel/frozen | 1.2.0 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/frozen | 1.2.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/frozen | 1.2.0 newest | no data | - | [email protected] | - |
Version history 1
- 1.2.0
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkg install frozen
From DPorts:
cd /usr/dports/devel/frozen && make install clean
Dependencies
No port depends on this one.