{"id":40086476,"url":"https://github.com/tumdum/either_ptr","last_synced_at":"2026-01-19T09:37:06.694Z","repository":{"id":151141877,"uuid":"120794661","full_name":"tumdum/either_ptr","owner":"tumdum","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-08T17:56:52.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-01-29T00:07:59.291Z","etag":null,"topics":["cpp","optimization"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tumdum.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-02-08T17:35:29.000Z","updated_at":"2018-02-08T23:16:37.000Z","dependencies_parsed_at":"2023-10-01T07:33:57.704Z","dependency_job_id":null,"html_url":"https://github.com/tumdum/either_ptr","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"9a5676c154be1b90d73c47e9e9fb199e2f9ab0eb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tumdum/either_ptr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumdum%2Feither_ptr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumdum%2Feither_ptr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumdum%2Feither_ptr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumdum%2Feither_ptr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tumdum","download_url":"https://codeload.github.com/tumdum/either_ptr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tumdum%2Feither_ptr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28565001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cpp","optimization"],"created_at":"2026-01-19T09:37:06.095Z","updated_at":"2026-01-19T09:37:06.690Z","avatar_url":"https://github.com/tumdum.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"tmd::either_ptr\u003cA,B\u003e is type similar to boost::variant\u003cA*,B*\u003e in concept. It differs\nin few ways:\n- it is always the same size as void*\n- it allows for A to be the same type as B\n- it can only store types with alignment of at least 2. To be precise it\n  requires passed pointer to have lowest bit set to zero.\n\nTo use it's enough to copy either_ptr.hpp and LICENSE files to your project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftumdum%2Feither_ptr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftumdum%2Feither_ptr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftumdum%2Feither_ptr/lists"}