{"id":29871380,"url":"https://github.com/jaytwolab/cpp.define_member_and_setter","last_synced_at":"2025-08-24T12:45:19.975Z","repository":{"id":306991563,"uuid":"1024267959","full_name":"JayTwoLab/cpp.define_member_and_setter","owner":"JayTwoLab","description":"Define Member and Setter Macro for C++ :kr: C++용 멤버 변수 및 Setter 매크로 정의","archived":false,"fork":false,"pushed_at":"2025-07-23T12:43:22.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-28T22:00:48.836Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/JayTwoLab.png","metadata":{"files":{"readme":"README.ko.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,"zenodo":null}},"created_at":"2025-07-22T12:41:28.000Z","updated_at":"2025-07-23T12:43:26.000Z","dependencies_parsed_at":"2025-07-28T22:00:52.321Z","dependency_job_id":"2adc7006-3866-4281-b29a-21e8d33f02de","html_url":"https://github.com/JayTwoLab/cpp.define_member_and_setter","commit_stats":null,"previous_names":["jaytwolab/cpp.define_member_and_setter"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/JayTwoLab/cpp.define_member_and_setter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayTwoLab%2Fcpp.define_member_and_setter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayTwoLab%2Fcpp.define_member_and_setter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayTwoLab%2Fcpp.define_member_and_setter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayTwoLab%2Fcpp.define_member_and_setter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JayTwoLab","download_url":"https://codeload.github.com/JayTwoLab/cpp.define_member_and_setter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JayTwoLab%2Fcpp.define_member_and_setter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267929462,"owners_count":24167453,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-07-30T19:45:08.566Z","updated_at":"2025-07-30T19:45:13.698Z","avatar_url":"https://github.com/JayTwoLab.png","language":"C++","readme":"\u003c!-- 언어 선택 --\u003e\n\u003cp align=\"right\"\u003e\n    \u003ca href=\"README.md\"\u003eEnglish\u003c/a\u003e |\n    \u003ca href=\"README.ko.md\"\u003eKorean\u003c/a\u003e\n\u003c/p\u003e\n\n# C++용 멤버 변수 및 Setter 매크로 정의\n\n이 프로젝트는 C++17 이상에서 멤버 변수와 체이닝 가능한 setter 함수를 동시에 정의할 수 있는 간단한 매크로를 제공합니다.\n\n## 주요 기능\n\n- 매크로 한 줄로 멤버 변수와 setter를 정의\n- 코드 가독성과 유지보수성 향상\n- C++17 이상에서 동작\n\n## 사용 예시\n\n```cpp\n#include \"DefineMemeberAndSetter.hpp\"\n\nstruct Config {\n    DEFINE_MEMBER_AND_SETTER(std::string, name)\n    DEFINE_MEMBER_AND_SETTER(int, width)\n    DEFINE_MEMBER_AND_SETTER(int, height)\n};\n```\n\n사용법:\n\n```cpp\nConfig cfg;\n\n// Setter\ncfg.name(\"Main Window\")\n   .width(1280)\n   .height(720);\n\n// Getter\nstd::cout \u003c\u003c \"Name: \"       \u003c\u003c cfg.name()    \u003c\u003c \"\\n\";\nstd::cout \u003c\u003c \"Width: \"      \u003c\u003c cfg.width()   \u003c\u003c \"\\n\";\nstd::cout \u003c\u003c \"Fullscreen: \" \u003c\u003c std::boolalpha \u003c\u003c cfg.fullscreen() \u003c\u003c \"\\n\";\n\n```\n\n## 빌드 방법\n\n```bash\nmkdir build \u0026\u0026 cd build\ncmake ..\nmake\n```\n\n## 라이선스\n\n- MIT License\n- https://github.com/JayTwoLab/cpp.define_member_and_setter\n  \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaytwolab%2Fcpp.define_member_and_setter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaytwolab%2Fcpp.define_member_and_setter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaytwolab%2Fcpp.define_member_and_setter/lists"}