{"id":20077217,"url":"https://github.com/boostorg/optional","last_synced_at":"2025-04-04T15:11:16.635Z","repository":{"id":6353106,"uuid":"7589934","full_name":"boostorg/optional","owner":"boostorg","description":"Boost.org optional module","archived":false,"fork":false,"pushed_at":"2025-03-15T16:57:49.000Z","size":2739,"stargazers_count":58,"open_issues_count":27,"forks_count":68,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2025-03-28T14:11:15.420Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://boost.org/libs/optional","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"amouat/diffxml","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boostorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2013-01-13T15:58:51.000Z","updated_at":"2024-12-08T16:21:25.000Z","dependencies_parsed_at":"2023-01-13T13:57:28.995Z","dependency_job_id":"59427694-b129-4fc1-ac5e-c8e05cc4c7cc","html_url":"https://github.com/boostorg/optional","commit_stats":null,"previous_names":[],"tags_count":122,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Foptional","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Foptional/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Foptional/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostorg%2Foptional/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boostorg","download_url":"https://codeload.github.com/boostorg/optional/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247198464,"owners_count":20900081,"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":[],"created_at":"2024-11-13T15:06:36.360Z","updated_at":"2025-04-04T15:11:16.616Z","avatar_url":"https://github.com/boostorg.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"optional\n========\n\nA library for representing optional (nullable) objects in C++.\n\n```cpp\noptional\u003cint\u003e readInt(); // this function may return either an int or a not-an-int\n\nif (optional\u003cint\u003e oi = readInt()) // did I get a real int\n  cout \u003c\u003c \"my int is: \" \u003c\u003c *oi;   // use my int\nelse\n  cout \u003c\u003c \"I have no int\";\n```\n\nFor more information refer to the documentation provided with this library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboostorg%2Foptional","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboostorg%2Foptional","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboostorg%2Foptional/lists"}