{"id":13424489,"url":"https://github.com/mattreecebentley/plf_hive","last_synced_at":"2025-03-15T18:35:13.630Z","repository":{"id":37622096,"uuid":"404572554","full_name":"mattreecebentley/plf_hive","owner":"mattreecebentley","description":"plf::hive is a fork of plf::colony to match the current C++ standards proposal.","archived":false,"fork":false,"pushed_at":"2025-02-28T01:55:28.000Z","size":753,"stargazers_count":90,"open_issues_count":0,"forks_count":9,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-02-28T09:55:29.107Z","etag":null,"topics":["container","standards"],"latest_commit_sha":null,"homepage":"https://wg21.link/p0447","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattreecebentley.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-09T03:25:53.000Z","updated_at":"2025-02-28T01:56:19.000Z","dependencies_parsed_at":"2025-02-28T02:50:03.418Z","dependency_job_id":"ec83a457-34a3-4129-b3fd-718d234fa2e7","html_url":"https://github.com/mattreecebentley/plf_hive","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattreecebentley%2Fplf_hive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattreecebentley%2Fplf_hive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattreecebentley%2Fplf_hive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattreecebentley%2Fplf_hive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattreecebentley","download_url":"https://codeload.github.com/mattreecebentley/plf_hive/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243775860,"owners_count":20346279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["container","standards"],"created_at":"2024-07-31T00:00:55.095Z","updated_at":"2025-03-15T18:35:08.600Z","avatar_url":"https://github.com/mattreecebentley.png","language":"C++","funding_links":[],"categories":["Containers and Algorithms"],"sub_categories":[],"readme":"plf::hive is a fork of plf::colony to match the current C++ standards proposal (https://wg21.link/p0447).\r\nThe differences in plf::hive are as follows:\r\n* C++20 and above only.\r\n* ==, != and \u003c=\u003e container operators removed, as these were considered either too slow as order-inspecific operators, or too confusing as order-specific operators (for an unordered-insert container)\r\n* priority template parameter removed as was not considered useful enough to maintain in standard.\r\n* data() function removed, as may cause too much implementation specificity.\r\n* reset() function removed (use clear() followed by trim_capacity() instead) - simply to cut down on the user interface.\r\n* memory() removed as this was considered to be not in-keeping with previous container practice.\r\n* No support for user-specified internal sort routines to be used by member function sort().\r\n* advance, prev, next and distance are std:: overloads, rather than hidden friends selected via ADL. This is only possible under C++20 and above. std::distance overload doesn't support negative distances, the two iterators must be swapped prior to distance call if first is \u003e last.\r\n* The following public functions are removed: is_active, default_min_block_capacity, default_max_block_capacity, default_block_capacity_limits, block_metadata_memory, block_allocation_amount, max_elements_per_allocation.\r\n\r\nOtherwise hive should follow the same rules as colony and be used in the same way. Colony documentation is here:\r\nhttps://plflib.org/colony.htm\r\n\r\nNote: In terms of the Microsoft compiler, hive requires Visual Studio 2022 or later to compile properly (early versions have an unresolved bug).\r\n\r\nNote2: Use plf::ranges::range_from in the parameters when calling rangesv3 constructor overloads. This will be updated with std::range_from_t when that feature becomes widely available in C++23-compliant compilers.\r\n\r\n\r\n![Infographic describing the container](https://i.imgur.com/eXSlOdi.png)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattreecebentley%2Fplf_hive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattreecebentley%2Fplf_hive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattreecebentley%2Fplf_hive/lists"}