{"id":18839270,"url":"https://github.com/solareenlo/42cpp-module-03","last_synced_at":"2025-07-04T03:34:11.856Z","repository":{"id":93865654,"uuid":"371150453","full_name":"solareenlo/42cpp-module-03","owner":"solareenlo","description":"C++ practice 03 (inheritance, multiple inheritance)","archived":false,"fork":false,"pushed_at":"2021-10-08T15:09:45.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T11:50:27.300Z","etag":null,"topics":["42","42born2code","42cursus","42projects","cpp"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solareenlo.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":"2021-05-26T19:40:32.000Z","updated_at":"2021-10-08T15:09:49.000Z","dependencies_parsed_at":"2023-03-08T12:45:36.347Z","dependency_job_id":null,"html_url":"https://github.com/solareenlo/42cpp-module-03","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/solareenlo/42cpp-module-03","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solareenlo%2F42cpp-module-03","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solareenlo%2F42cpp-module-03/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solareenlo%2F42cpp-module-03/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solareenlo%2F42cpp-module-03/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solareenlo","download_url":"https://codeload.github.com/solareenlo/42cpp-module-03/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solareenlo%2F42cpp-module-03/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263440783,"owners_count":23466995,"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":["42","42born2code","42cursus","42projects","cpp"],"created_at":"2024-11-08T02:42:37.081Z","updated_at":"2025-07-04T03:34:11.782Z","avatar_url":"https://github.com/solareenlo.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 42cpp-module-03\n\n### ex04\n- [多重継承](https://programming.pc-note.net/cpp/inheritance_multiple.html)\n  - C++ でダイヤモンド継承をすると基底クラスの実体はふたつ存在することになる．\n  - C++ では仮想継承（virtual）という方法を用いると，基底クラスの実体をひとつにすることができる．\n- [静的メンバ](https://cpp-lang.sevendays-study.com/day5.html)\n- [Static constant string (class member)](https://stackoverflow.com/questions/1563897/static-constant-string-class-member)\n\n### ex02\n- [継承](https://programming.pc-note.net/cpp/inheritance.html)\n  - 拡張のための継承 = is-a 関係\n  - is-a 関係は，差分プログラミングと呼ばれるプログラミング手法\n  - [is-a 関係](https://programming-place.net/ppp/contents/cpp/language/026.html#is_a)\n  - [C++のis-aとhas-a関係（オブジェクト指向的な関係）](https://www.zealseeds.com/Lang/LangCpp/cpp/objectOrientation/RelationOfIs-aOrHas-a/index.html)\n  - [継承と合成 | Programming Place Plus　C++編【言語解説】　第２８章](https://programming-place.net/ppp/contents/cpp/language/028.html)\n\n### ex01\n- [静的メンバ変数](http://wisdom.sakura.ne.jp/programming/cpp/cpp41.html)\n  - クラス内に1つしか存在しないメンバのこと．\n  - 全てのオブジェクトが共有するクラス内グローバル変数と言える．\n\n### ex00\n- [メンバイニシャライザ](https://programming.pc-note.net/cpp/constructor.html)\n  - 「コンストラクタ名() :」の後に記述されているのがメンバイニシャライザ．\n  - メンバイニシャライザによる初期化は，代入による初期化よりも効率が良い．\n  - [C++ メンバイニシャライザの効率を調べてみた](http://jagabeeinitialize.hatenablog.com/entry/2018/01/21/192043)\n- [委譲コンストラクタ](https://cpprefjp.github.io/lang/cpp11/delegating_constructors.html) は，C++11 からの機能．\n  - 委譲コンストラクタは，効率の良い初期化方法．\n- [演算子のオーバーロード](http://wisdom.sakura.ne.jp/programming/cpp/cpp27.html)\n\n### キャラクター名\n- Clap Trap\n  - Borderlands というゲームに登場するノンプレイキャラクター\n  - [Borderlands ノンプレイヤーキャラクター CL4P-TP](https://ja.wikipedia.org/wiki/Borderlands#%E3%83%8E%E3%83%B3%E3%83%97%E3%83%AC%E3%82%A4%E3%83%A4%E3%83%BC%E3%82%AD%E3%83%A3%E3%83%A9%E3%82%AF%E3%82%BF%E3%83%BC)\n  - [Claptrap (robots)](https://borderlands.fandom.com/wiki/Claptrap_(robots))\n- [SC4V-TP](https://borderlands.fandom.com/wiki/SC4V-TP)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolareenlo%2F42cpp-module-03","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolareenlo%2F42cpp-module-03","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolareenlo%2F42cpp-module-03/lists"}