{"id":20191427,"url":"https://github.com/htfy96/mylist","last_synced_at":"2026-03-05T16:20:40.465Z","repository":{"id":33358474,"uuid":"37003293","full_name":"htfy96/MyList","owner":"htfy96","description":"An array-based C++ MyList Class with robust exception safety","archived":false,"fork":false,"pushed_at":"2015-06-09T10:27:32.000Z","size":428,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T18:52:25.325Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/htfy96.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}},"created_at":"2015-06-07T03:26:03.000Z","updated_at":"2015-06-07T13:22:34.000Z","dependencies_parsed_at":"2022-09-04T01:01:53.773Z","dependency_job_id":null,"html_url":"https://github.com/htfy96/MyList","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/htfy96%2FMyList","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htfy96%2FMyList/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htfy96%2FMyList/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htfy96%2FMyList/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/htfy96","download_url":"https://codeload.github.com/htfy96/MyList/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241629736,"owners_count":19993707,"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-14T03:49:01.374Z","updated_at":"2026-03-05T16:20:39.254Z","avatar_url":"https://github.com/htfy96.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyList\nAn array-based C++ MyList Class with robust exception safety\n#Summary\n**GCC with c++11 is incompatible with this project!**\n\n##How to compile\n|        Command        |       Explaination        |\n|:---------------------:|:-------------------------:|\n|`make`=`make gcc98`    |compile it with gcc in c++98|\n|`make clang98`         |compile it with clang in c++98|\n|`make clang11`         |compile it with clang in c++11|\n|`make clean`           |clean `mylist`             |\n|`make prepare`         |Generate tags/documents    |\n##Exception Classes\n\n```cpp\n * MyListBaseException (exceptionType, lineno, filename, msg, print())\n * |\n * +----MyListLogicError\n *      |\n *      +----MyListPopFromNullError\n *      +----MyListOutOfRangeError\n *      +----MyListResizeToZeroError\n *\n * Due to the lack of meta data in c++98, extra tag \"exceptionType\"\n * is included in an object\n```\n\n##Exception Specifer\nTo keep compability with both C++98 and C++11, some macros are defined in this project:\n\n|       Example     |       Explaination        |\n|:-----------------:|:-------------------------:|\n|`__MYLIST_NOEXCEPT`|No exception will raise in this function|\n|`__MYLIST_NOEXCEPT_IF_2(throw MyListOutOfRangeError(),__MYLIST_COPY)` | This function may throw MyListOutOfRangeError and exception may raise in the copy constructor of T|\n\n**Note**: There is a bug in gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52869 which prevents __MYLIST_ASSIGN from working correctly, therefore I have to use __MYLIST_COPY to replace it.\n\n##Documentation\nDocumentation generated by GNU Global could be found in `HTML` directory.\n\n\nhtfy96\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtfy96%2Fmylist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhtfy96%2Fmylist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtfy96%2Fmylist/lists"}