{"id":21995787,"url":"https://github.com/lb--/optional","last_synced_at":"2025-07-12T19:32:20.902Z","repository":{"id":148328179,"uuid":"42823867","full_name":"LB--/optional","owner":"LB--","description":"My personal implementation of the optional wrapper in C++.","archived":false,"fork":false,"pushed_at":"2016-03-22T12:21:58.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"optional","last_synced_at":"2025-03-15T03:41:52.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LB--.png","metadata":{"files":{"readme":"README.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-20T18:17:36.000Z","updated_at":"2023-09-08T17:01:53.000Z","dependencies_parsed_at":"2023-05-19T19:45:34.256Z","dependency_job_id":null,"html_url":"https://github.com/LB--/optional","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/LB--%2Foptional","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LB--%2Foptional/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LB--%2Foptional/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LB--%2Foptional/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LB--","download_url":"https://codeload.github.com/LB--/optional/tar.gz/refs/heads/optional","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245053713,"owners_count":20553381,"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-29T21:18:31.684Z","updated_at":"2025-03-23T04:22:29.398Z","avatar_url":"https://github.com/LB--.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"optional [![travis](https://travis-ci.org/LB--/optional.svg?branch=optional)](https://travis-ci.org/LB--/optional)\n========\nMy personal implementation of `std::optional`/`boost::optional`, just for fun.\n\n## Usage\n### CMake\nFrom the `cmake` directory, copy the `FindLB` directory to a place in your `CMAKE_MODULE_PATH`.\nThen, add `find_package(LB/optional REQUIRED)` to your CMake script.\nYou may need to set the CMake variable `LB/optional_ROOT` if you installed to a nonstandard location.\nFinally, link to the `LB::optional` imported target with `target_link_libraries()`.\n\n### C++\nFirst `#include \u003cLB/optional/optional.hpp\u003e`, and then bug LB to finish this TODO.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flb--%2Foptional","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flb--%2Foptional","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flb--%2Foptional/lists"}