├── LICENSE ├── README.md ├── cache ├── bigint │ └── cpp-nutshell │ │ ├── 139.png │ │ ├── 140.png │ │ └── README.md ├── cache-last-lookup │ └── cpp-faq │ │ ├── 1.png │ │ ├── 2.png │ │ ├── 3.png │ │ └── README.md ├── compute-cache-value │ ├── .gitignore │ ├── main.cc │ ├── run.sh │ └── stroustrup │ │ ├── 463-1.png │ │ ├── 463-2.png │ │ └── README.md └── qtablewidgetitem-cell │ └── blanchette │ ├── 91.png │ ├── 92-1.png │ ├── 92-2.png │ ├── 93-1.png │ ├── 93-2.png │ └── README.md ├── class └── return-private-class-instance │ ├── main.cc │ └── run.sh ├── const ├── const-ptr │ ├── .gitignore │ ├── MyClass.cpp │ ├── MyClass.h │ ├── README.md │ ├── REFERENCES.md │ ├── fundamental_ptr.h │ ├── main.cpp │ ├── ptr2ptr.h │ └── run.sh ├── methods-with-same-name-without-args │ ├── .gitignore │ ├── main.cc │ └── run.sh ├── mutable-and-reference-operator │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── misc.xml │ │ ├── modules.xml │ │ ├── mutable-and-reference-operator.iml │ │ └── vcs.xml │ ├── CMakeLists.txt │ ├── main.cpp │ └── type_name.h ├── remove-const-from-type │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── misc.xml │ │ ├── modules.xml │ │ ├── qmlSettings.xml │ │ ├── remove-const-from-type.iml │ │ └── vcs.xml │ ├── CMakeLists.txt │ └── main.cpp └── std-vector-with-const-el │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cpp │ └── run.sh ├── crtp ├── REFERENCES.md ├── example-1 │ ├── .gitignore │ ├── Base.h │ ├── Derived.h │ ├── main.cpp │ └── run.sh ├── example-2 │ ├── README.md │ ├── with-crtp │ │ ├── .gitignore │ │ ├── Base.h │ │ ├── Derived.h │ │ ├── main.cpp │ │ └── run.sh │ └── with-no-crtp │ │ ├── .gitignore │ │ ├── Base.h │ │ ├── Derived.h │ │ ├── main.cpp │ │ └── run.sh ├── example-3 │ ├── .gitignore │ ├── A.h │ ├── B.h │ ├── C.h │ ├── main.cpp │ └── run.sh ├── example-4 │ ├── .gitignore │ ├── README.md │ ├── drawing.svg │ ├── level0.h │ ├── level0_impl.h │ ├── level1.h │ ├── level1_impl.h │ ├── level2.h │ ├── level2_impl.h │ ├── main.cpp │ └── run.sh ├── example-5 │ ├── .gitignore │ ├── Base.h │ ├── NonOverriding.h │ ├── Overriding.h │ ├── main.cpp │ └── run.sh ├── example-6 │ ├── .gitignore │ ├── A.h │ ├── B.h │ ├── C.h │ ├── README.md │ ├── Type2Type.h │ ├── main.cpp │ └── run.sh └── example-7 │ ├── .gitignore │ ├── A.h │ ├── B.h │ ├── C.h │ ├── main.cpp │ └── run.sh ├── ctor ├── assignment-and-copy-ctor │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cpp │ └── run-clang.sh ├── auto-return-copy-ctor │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── auto-return-copy-ctor.iml │ │ ├── misc.xml │ │ ├── modules.xml │ │ └── vcs.xml │ ├── CMakeLists.txt │ └── main.cpp ├── init-priority │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── init-priority.iml │ │ ├── misc.xml │ │ ├── modules.xml │ │ └── vcs.xml │ ├── CMakeLists.txt │ └── main.cpp └── return-optimization-copy-ctor │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cpp │ └── run.sh ├── declaration-and-definition-of-stand-alone-function-in-different-places ├── .gitignore ├── README.md ├── a.cpp ├── b.h ├── main.cpp └── program.sh ├── declare-interface-cpp ├── README.md ├── REFERENCES.md ├── example-1 │ ├── .gitignore │ ├── Child.h │ ├── IDemo.h │ ├── Parent.h │ ├── main.cpp │ └── program.sh ├── example-2 │ ├── .gitignore │ ├── A.h │ ├── main.cpp │ └── program.sh ├── example-3 │ ├── .gitignore │ ├── Child.h │ ├── IDemo.h │ ├── main.cpp │ └── program.sh ├── example-4 │ ├── .gitignore │ ├── IBase.h │ ├── Tester.cpp │ ├── Tester.h │ ├── main.cpp │ └── program.sh ├── example-5 │ ├── .gitignore │ ├── Child.h │ ├── IDemo.h │ ├── main.cpp │ └── program.sh └── example-6 │ ├── .gitignore │ ├── foo.cpp │ ├── foo.h │ ├── main.cpp │ └── program.sh ├── double-colon-scope-resolution-operator-syntax ├── .gitignore ├── program.cpp └── program.sh ├── dtor-virtual └── example-1 │ ├── .gitignore │ ├── A.h │ ├── B.h │ ├── C.h │ ├── main.cpp │ └── run.sh ├── dtor ├── .gitignore ├── A.h ├── B.h ├── C.h ├── D.h ├── E.h ├── F.h ├── G.h ├── H.h ├── I.h ├── J.h ├── K.h ├── L.h ├── M.h ├── N.h ├── O.h ├── P.h ├── Q.h ├── R.h ├── S.h ├── T.h ├── U.h ├── V.h ├── W.h ├── X.cpp ├── X.h ├── Y.h ├── Z.h ├── main.cpp └── run.sh ├── endianness └── little-endian │ ├── .gitignore │ ├── README.md │ ├── REFERENCES.md │ ├── main.cc │ ├── run.sh │ └── utils.h ├── enum ├── bit-mask-with-enum-as-flag │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cpp │ └── run.sh ├── enum-converter │ ├── .gitignore │ ├── Color.h │ ├── DifferentTypesValuesMapper.h │ ├── Mapper.h │ ├── REFERENCES.md │ ├── main.cc │ ├── other.cc │ └── run.sh ├── pass-enum-as-int-arr │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh └── pass-enum-to-function │ ├── .gitignore │ ├── main.cpp │ └── run.sh ├── errors ├── lambda-param-shadow-captured-entity │ ├── main.cpp │ └── run.sh ├── multiple-definitions-of-stand-alone-function-in-source-files │ ├── .gitignore │ ├── README.md │ ├── a.cpp │ ├── b.cpp │ ├── main.cpp │ └── program.sh └── multiple-definitions-of-variables-in-source-files │ ├── .gitignore │ ├── README.md │ ├── a.cpp │ ├── b.cpp │ ├── main.cpp │ └── program.sh ├── fn ├── pass-static-arr-of-ptr-into-fn │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh └── tpl-fn-spec │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh ├── fs ├── copy-dir │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── copy-dir.iml │ │ ├── misc.xml │ │ └── modules.xml │ ├── CMakeLists.txt │ ├── REFERENCES.md │ ├── StrUtils.cc │ ├── StrUtils.hpp │ ├── a │ │ ├── a1.txt │ │ ├── a2.json │ │ ├── aa │ │ │ ├── aa1.txt │ │ │ └── aaa │ │ │ │ ├── aaa1.txt │ │ │ │ └── aaa2.txt │ │ └── ab │ │ │ ├── ab1.json │ │ │ └── ab2.txt │ ├── b │ │ ├── a1.txt │ │ ├── a2.json │ │ ├── aa │ │ │ ├── aa1.txt │ │ │ └── aaa │ │ │ │ ├── aaa1.txt │ │ │ │ └── aaa2.txt │ │ └── ab │ │ │ ├── ab1.json │ │ │ └── ab2.txt │ ├── filesystem.hpp │ └── main.cc ├── out-to-file │ ├── .gitignore │ ├── REFERENCES.md │ ├── hello.txt │ ├── main.cpp │ ├── run-clang++.sh │ └── run-g++.sh └── posix-create-dir-if-not-exists │ ├── .gitignore │ ├── .idea │ ├── create-dir-if-not-exists.iml │ ├── misc.xml │ └── modules.xml │ ├── CMakeLists.txt │ ├── REFERENCES.md │ ├── main.cpp │ ├── run-clang++.sh │ └── run-g++.sh ├── fundamental ├── assign-bool-to-int │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── assign-bool-to-int.iml │ │ ├── misc.xml │ │ ├── modules.xml │ │ └── vcs.xml │ ├── CMakeLists.txt │ └── main.cpp ├── bin-repr-of-type-val │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cc │ ├── output │ │ ├── char.txt │ │ ├── short.txt │ │ ├── unsigned char.txt │ │ └── unsigned short.txt │ ├── run.sh │ └── utils.h ├── bitwise-or-with-bool-type │ ├── .gitignore │ ├── main.cc │ └── run.sh ├── fundamental-type-sz │ ├── .gitignore │ ├── main.cpp │ └── run.sh ├── real2str │ ├── .gitignore │ ├── main.cc │ └── run.sh ├── ulong-to-float │ ├── .gitignore │ ├── main.cc │ └── run.sh └── upcasting-signed │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cc │ ├── run.sh │ └── utils.h ├── inheritance ├── change-access-modifier │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── change-access-modifier.iml │ │ ├── misc.xml │ │ ├── modules.xml │ │ └── vcs.xml │ ├── CMakeLists.txt │ ├── README.md │ └── main.cpp ├── def-arg-and-virt-func │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh ├── dynamic-cast-from-parent-to-other-parent │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── dynamic-cast-from-parent-to-other-parent.iml │ │ ├── misc.xml │ │ ├── modules.xml │ │ └── vcs.xml │ ├── CMakeLists.txt │ ├── README.md │ └── main.cpp ├── hide-virt-member-func │ ├── .gitignore │ ├── Base.h │ ├── Derived.cc │ ├── Derived.h │ ├── ITalker.h │ ├── MostDerived.cc │ ├── MostDerived.h │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh ├── inheritance-dynamic-cast-to-other-branch │ ├── .gitignore │ ├── README.md │ ├── hierarchy.graffle │ ├── hierarchy.png │ ├── main.cc │ └── run.sh ├── override-method-with-default-param │ ├── .gitignore │ ├── REFERENCES.md │ ├── program.cpp │ └── run.sh └── virtual-inheritance-dynamic-cast │ ├── .gitignore │ ├── README.md │ ├── hierarchy.graffle │ ├── hierarchy.png │ ├── main.cc │ └── run.sh ├── interfaces ├── iface-inheritance-cpp-vs-java │ ├── REFERENCES.md │ └── java │ │ ├── .gitignore │ │ ├── Base.java │ │ ├── Interface.java │ │ ├── MyClass.java │ │ └── run.sh ├── method-with-impl-in-interface │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh ├── static-interfaces │ ├── README.md │ ├── REFERENCES.md │ ├── conversion_detection.h │ ├── mcnamara.pdf │ └── static_isa.h └── virtual │ ├── example-1 │ ├── .gitignore │ ├── Car.h │ ├── IVehicle.h │ ├── main.cpp │ └── run.sh │ └── example-2 │ ├── .gitignore │ ├── IGenerate.h │ ├── KnownNumber.h │ ├── SecretNumber.h │ ├── main.cpp │ └── run.sh ├── it └── tree-iter │ ├── .gitignore │ ├── REFERENCES.md │ ├── TreeNode.cc │ ├── TreeNode.h │ ├── TreeNodeIterator.h │ ├── main.cc │ └── run.sh ├── lambda ├── capture-variadic-parameter-pack │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── capture-variadic-parameter-pack.iml │ │ ├── misc.xml │ │ └── modules.xml │ ├── CMakeLists.txt │ ├── REFERENCES.md │ ├── main.cpp │ └── run.sh └── lambda-capture-this │ ├── .gitignore │ ├── .idea │ ├── .gitignore │ ├── .name │ ├── lambda-capture-this.iml │ ├── misc.xml │ └── modules.xml │ ├── CMakeLists.txt │ └── main.cpp ├── macro └── macro-concat │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cc │ ├── main.cpp │ ├── run-preprocessor-stage.sh │ └── run.sh ├── member-initializer-list-params ├── .gitignore ├── MemberInitializerList.sln ├── MemberInitializerList │ ├── MemberInitializerList.vcxproj │ ├── MemberInitializerList.vcxproj.filters │ ├── MyClass.cpp │ ├── MyClass.h │ └── main.cpp └── error.png ├── memory ├── allocation-tracking │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ └── misc.xml │ ├── CMakeLists.txt │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh └── declare-variable-in-if │ ├── .gitignore │ ├── .idea │ ├── .gitignore │ ├── .name │ ├── declare-variable-in-if.iml │ ├── misc.xml │ ├── modules.xml │ └── vcs.xml │ ├── CMakeLists.txt │ └── main.cc ├── method └── fluent-interface │ ├── .gitignore │ ├── .idea │ ├── .gitignore │ ├── .name │ ├── fluent-interface.iml │ ├── misc.xml │ ├── modules.xml │ └── vcs.xml │ ├── CMakeLists.txt │ └── main.cpp ├── move-semantics ├── README.md ├── REFERENCES.md ├── move-lambda-as-param │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── misc.xml │ │ ├── modules.xml │ │ └── move-lambda-as-param.iml │ ├── CMakeLists.txt │ ├── README.md │ ├── main.cc │ ├── test1.h │ ├── test10.h │ ├── test11.h │ ├── test12.h │ ├── test2.h │ ├── test3.h │ ├── test4.h │ ├── test5.h │ ├── test6.h │ ├── test7.h │ ├── test8.h │ └── test9.h └── pass-std-unique-ptr-to-fn │ ├── .gitignore │ ├── .idea │ ├── .gitignore │ ├── .name │ ├── misc.xml │ ├── modules.xml │ ├── pass-std-unique-ptr-to-fn.iml │ └── vcs.xml │ ├── CMakeLists.txt │ ├── REFERENCES.md │ └── main.cpp ├── multithreading ├── cond-var-wait │ ├── main.cc │ └── run.sh ├── std-async-n-future │ ├── README.md │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh └── thread-id │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh ├── ns └── unnamed-namespace-within-named │ ├── .gitignore │ ├── .idea │ ├── .gitignore │ ├── .name │ ├── misc.xml │ ├── modules.xml │ ├── unnamed-namespace-within-named.iml │ └── vcs.xml │ ├── A.cc │ ├── A.h │ ├── B.cc │ ├── B.h │ ├── CMakeLists.txt │ ├── REFERENCES.md │ └── main.cc ├── overloading └── call-is-ambiguous │ ├── main.cc │ └── run.sh ├── override ├── example-1 │ ├── .gitignore │ ├── A.h │ ├── B.h │ ├── main.cpp │ └── run.sh ├── override-method-return-value-with-subclass │ ├── .gitignore │ ├── main.cc │ └── run.sh ├── overrided-method-call │ ├── .gitignore │ ├── A.h │ ├── B.h │ ├── C.h │ ├── main.cpp │ └── run.sh └── same-super-methods │ ├── .gitignore │ ├── .idea │ ├── .gitignore │ ├── .name │ ├── misc.xml │ ├── modules.xml │ ├── same-super-methods.iml │ └── vcs.xml │ ├── CMakeLists.txt │ ├── README.md │ └── main.cc ├── performance └── loop-time │ ├── .gitignore │ ├── .idea │ ├── .gitignore │ ├── .name │ ├── loop-time.iml │ ├── misc.xml │ ├── modules.xml │ └── vcs.xml │ ├── CMakeLists.txt │ └── main.cpp ├── ptr ├── auto-ref-ptr │ ├── .gitignore │ ├── main.cc │ └── run.sh ├── const-char-str-ptr-delete │ ├── .gitignore │ ├── main.cpp │ ├── run-clang++.sh │ └── run-g++.sh ├── fn-ptr-using │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh ├── pass-ptr-to-func │ ├── .gitignore │ ├── README.md │ ├── program.cpp │ └── run.sh └── shared_ptr-if │ ├── .gitignore │ ├── main.cc │ └── run.sh ├── ref ├── assign-ref2ref │ ├── .gitignore │ ├── main.cc │ └── run.sh ├── assign-val-to-const-ref │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh └── ref-dtor-out-of-scope │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cpp │ └── run.sh ├── regex ├── inc-filename │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cpp │ └── run.sh └── regex-repl-word │ ├── .gitignore │ ├── CMakeLists.txt │ └── main.cc ├── rnd ├── random-device-usage │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── misc.xml │ │ ├── modules.xml │ │ ├── random-device-ctor.iml │ │ └── vcs.xml │ ├── CMakeLists.txt │ ├── REFERENCES.md │ └── main.cc └── random-int-in-range │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh ├── smart-ptr ├── shared_ptr │ ├── cmp-shared-ptr │ │ ├── .gitignore │ │ ├── main.cc │ │ └── run.sh │ ├── null-deleter │ │ ├── .gitignore │ │ ├── REFERENCES.md │ │ ├── main.cc │ │ └── run.sh │ ├── return-shared_ptr-const │ │ ├── Makefile │ │ └── main.cc │ ├── shared-from-this │ │ ├── .gitignore │ │ ├── .idea │ │ │ ├── .gitignore │ │ │ ├── .name │ │ │ ├── misc.xml │ │ │ ├── modules.xml │ │ │ ├── shared-from-this.iml │ │ │ └── vcs.xml │ │ ├── CMakeLists.txt │ │ ├── REFERENCES.md │ │ ├── main.cc │ │ └── run.sh │ ├── shared-ptr-casting │ │ ├── .gitignore │ │ ├── main.cc │ │ └── run.sh │ ├── shared-ptr-reset │ │ ├── .gitignore │ │ ├── main.cc │ │ └── run.sh │ ├── shared_ptr-vs-make_shared │ │ ├── .gitignore │ │ ├── main.cc │ │ └── run.sh │ └── vec-with-shared-ptr-items │ │ ├── .gitignore │ │ ├── main.cc │ │ └── run.sh ├── unique_ptr │ └── unique-ptr-assign │ │ ├── main.cc │ │ └── run.sh └── weak_ptr │ ├── cast-weak-ptr │ ├── .gitignore │ ├── main.cc │ └── run.sh │ ├── lock-weak-ptr │ ├── .gitignore │ ├── main.cc │ └── run.sh │ ├── new-weak-ptr-expired │ ├── .gitignore │ ├── README.md │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh │ └── weak-from-this │ ├── .gitignore │ ├── .idea │ ├── .name │ ├── misc.xml │ ├── modules.xml │ └── weak-from-this.iml │ ├── CMakeLists.txt │ ├── IShape.h │ ├── Rectangle.cc │ ├── Rectangle.h │ ├── main.cc │ └── run.sh ├── static └── static-var-in-local-scope │ ├── main.cc │ └── run.sh ├── std ├── collections │ ├── list │ │ └── cmp-list-of-pairs │ │ │ ├── .gitignore │ │ │ ├── main.cc │ │ │ └── run.sh │ ├── map │ │ ├── change-map-item-value │ │ │ ├── .gitignore │ │ │ ├── main.cc │ │ │ └── run.sh │ │ ├── get-val-in-map-by-ref │ │ │ ├── .gitignore │ │ │ ├── REFERENCE.md │ │ │ ├── main.cc │ │ │ └── run.sh │ │ ├── loop-through-map-of-maps │ │ │ ├── .gitignore │ │ │ ├── main.cc │ │ │ └── run.sh │ │ ├── map-erase │ │ │ ├── .gitignore │ │ │ ├── .idea │ │ │ │ ├── .gitignore │ │ │ │ ├── .name │ │ │ │ ├── map-erase.iml │ │ │ │ ├── misc.xml │ │ │ │ ├── modules.xml │ │ │ │ └── vcs.xml │ │ │ ├── CMakeLists.txt │ │ │ └── main.cpp │ │ ├── map-insert │ │ │ ├── .gitignore │ │ │ ├── main.cc │ │ │ └── run.sh │ │ ├── map-int-str │ │ │ ├── .gitignore │ │ │ ├── main.cc │ │ │ └── run.sh │ │ ├── map-of-maps │ │ │ ├── .gitignore │ │ │ ├── REFERENCES.md │ │ │ ├── main.cc │ │ │ └── run.sh │ │ ├── map-val-by-ref │ │ │ ├── .gitignore │ │ │ ├── REFERENCE.md │ │ │ ├── main.cc │ │ │ └── run.sh │ │ ├── pair-as-key │ │ │ ├── Makefile │ │ │ ├── REFERENCES.md │ │ │ └── main.cc │ │ ├── ptr-as-key-in-map │ │ │ ├── .gitignore │ │ │ ├── main.cc │ │ │ └── run.sh │ │ ├── smart-ptr-as-key │ │ │ ├── .gitignore │ │ │ ├── .idea │ │ │ │ ├── .gitignore │ │ │ │ ├── .name │ │ │ │ ├── misc.xml │ │ │ │ ├── modules.xml │ │ │ │ ├── smart-ptr-as-key.iml │ │ │ │ └── vcs.xml │ │ │ ├── CMakeLists.txt │ │ │ ├── Key.cpp │ │ │ ├── Key.h │ │ │ ├── KeyFwd.h │ │ │ ├── README.md │ │ │ ├── fn.cpp │ │ │ ├── fn.h │ │ │ └── main.cpp │ │ ├── unordered-map-el-dtor │ │ │ ├── .gitignore │ │ │ ├── REFERENCES.md │ │ │ ├── main.cpp │ │ │ └── run.sh │ │ └── unordered-map-of-unordered-sets │ │ │ ├── .gitignore │ │ │ ├── main.cc │ │ │ └── run.sh │ ├── queue │ │ └── emplace-in-queue-of-pair │ │ │ ├── .gitignore │ │ │ ├── .idea │ │ │ ├── .gitignore │ │ │ ├── .name │ │ │ ├── emplace-in-queue-of-pair.iml │ │ │ ├── misc.xml │ │ │ ├── modules.xml │ │ │ └── vcs.xml │ │ │ ├── CMakeLists.txt │ │ │ └── main.cpp │ └── vector │ │ ├── ins-el-into-vec │ │ ├── .gitignore │ │ ├── main.cc │ │ └── run.sh │ │ ├── std-vector-distance │ │ ├── .gitignore │ │ ├── .idea │ │ │ ├── .gitignore │ │ │ ├── .name │ │ │ ├── misc.xml │ │ │ ├── modules.xml │ │ │ └── std-vector-distance.iml │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── REFERENCES.md │ │ └── main.cpp │ │ ├── std-vector-erase │ │ ├── Makefile │ │ ├── README.md │ │ └── main.cc │ │ └── vector-insert │ │ ├── .gitignore │ │ ├── main.cc │ │ └── run.sh ├── containers │ ├── any │ │ ├── property-container │ │ │ ├── .gitignore │ │ │ ├── main.cpp │ │ │ └── run.sh │ │ └── std-any-as-param │ │ │ ├── .gitignore │ │ │ ├── main.cc │ │ │ └── run.sh │ ├── set │ │ ├── advance-on-set │ │ │ ├── .gitignore │ │ │ ├── main.cc │ │ │ └── run.sh │ │ └── set-with-cmp-el │ │ │ ├── .gitignore │ │ │ ├── main.cc │ │ │ └── run.sh │ └── tuple │ │ └── tuple-of-static-methods │ │ ├── .gitignore │ │ ├── .idea │ │ ├── .name │ │ ├── misc.xml │ │ ├── modules.xml │ │ └── tuple-of-static-methods.iml │ │ ├── CMakeLists.txt │ │ ├── Factory.cc │ │ ├── Factory.h │ │ ├── ISomething.h │ │ ├── Registrar.h │ │ ├── SomethingConcrete.cc │ │ ├── SomethingConcrete.h │ │ ├── main.cc │ │ └── run.sh ├── std-clamp │ ├── main.cc │ └── run.sh └── std-function │ └── std-function-empty │ ├── .gitignore │ ├── CMakeLists.txt │ ├── REFERENCES.md │ └── main.cpp ├── str ├── assign-char-arr-to-string │ ├── .gitignore │ ├── main.cc │ └── run.sh ├── cmp-std-str-with-char-arr │ ├── .gitignore │ ├── main.cc │ └── run.sh └── wstring_convert │ ├── REFERENCES.md │ └── varcholik │ ├── 328-329.png │ ├── 329.png │ ├── 330.png │ ├── 331.png │ ├── README.md │ ├── Utility.cpp │ └── Utility.h ├── stream ├── custom-stream-buffer │ ├── .gitignore │ ├── README.md │ ├── REFERENCES.md │ ├── inbuf_pointers.png │ ├── main.cc │ ├── outbuf_pointers.png │ └── run.sh └── streams │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh ├── syncfusion └── cpp_succinctly │ ├── AbstractClassSample │ ├── .gitignore │ ├── AbstractClassSample.cpp │ ├── ConsoleWriteData.cpp │ ├── ConsoleWriteData.h │ ├── IWriteData.h │ └── run.sh │ ├── CastingSample │ ├── .gitignore │ ├── CastingSample.cpp │ └── run.sh │ ├── ConsoleSample │ ├── .gitignore │ ├── ConsoleSample.cpp │ └── ConsoleSample.sh │ ├── ConstructorsSample │ ├── .gitignore │ ├── ConstructorsSample.cpp │ ├── Flavor.h │ ├── IceCreamSundae.cpp │ ├── IceCreamSundae.h │ ├── Toppings.h │ └── run.sh │ ├── ConversionConstructor │ ├── .gitignore │ ├── SomeClass.h │ ├── main.cpp │ └── run.sh │ ├── DelegatingConstructor │ ├── .gitignore │ ├── main.cpp │ └── run.sh │ ├── EnumSample │ ├── .gitignore │ ├── EnumSample.cpp │ ├── EnumSample.sh │ └── REFERENCES.md │ ├── ExceptionsSample │ ├── .gitignore │ ├── ExceptionsSample.cpp │ ├── InvalidArgumentException.h │ └── run.sh │ ├── ForwardDeclarations │ ├── SomeClassA.h │ ├── SomeClassB.cpp │ └── SomeClassB.h │ ├── FunctionsSample │ ├── .gitignore │ ├── FunctionsSample.cpp │ ├── REFERENCES.md │ ├── Utility.cpp │ ├── Utility.h │ └── program.sh │ ├── GlobalNamespaceSample │ ├── .gitignore │ ├── GlobalNamespaceSample.cpp │ └── GlobalNamespaceSample.sh │ ├── InheritanceSample │ ├── .gitignore │ ├── InheritanceSample.cpp │ └── run.sh │ ├── InitializationSample │ ├── .gitignore │ ├── main.cpp │ └── run.sh │ ├── LambdaSample │ ├── .gitignore │ ├── LambdaSample.cpp │ ├── REFERENCES.md │ └── run.sh │ ├── NamespacesSample │ ├── .gitignore │ ├── NamespacesSample.cpp │ └── NamespacesSample.sh │ ├── PimplSample │ ├── .gitignore │ ├── PimplSample.cpp │ ├── Sandwich.cpp │ ├── Sandwich.h │ └── run.sh │ ├── PointerSample │ ├── .gitignore │ ├── PointerSample.cpp │ └── run.sh │ ├── SharedPtrSample │ ├── .gitignore │ ├── REFERENCES.md │ ├── SharedPtrSample.cpp │ └── run.sh │ ├── SimpleClassSample │ ├── .gitignore │ ├── REFERENCES.md │ ├── SimpleClassSample.cpp │ ├── Vehicle.cpp │ ├── Vehicle.h │ ├── VehicleCondition.h │ └── program.sh │ ├── StorageDurationSample │ ├── .gitignore │ ├── SomeClass.cpp │ ├── SomeClass.h │ ├── StorageDurationSample.cpp │ └── run.sh │ ├── TemplatesSample │ ├── .gitignore │ ├── PeekLastItem.h │ ├── SimpleMath.h │ ├── TemplatesSample.cpp │ └── run.sh │ ├── TypedefSample │ ├── .gitignore │ ├── TypedefSample.cpp │ └── TypedefSample.sh │ ├── UnionSample │ ├── .gitignore │ ├── UnionSample.cpp │ └── UnionSample.sh │ └── pchar.h ├── tpl ├── fn-tpl-explicit-instantiation │ ├── .gitignore │ ├── REFERENCES.md │ ├── eq_number.cpp │ ├── eq_number.h │ ├── main.cpp │ ├── print_number.cpp │ ├── print_number.h │ └── run.sh ├── fold │ ├── .gitignore │ ├── README.md │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh ├── intro-to-traits │ ├── .gitignore │ ├── README.md │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh ├── lambda-overloading │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── lambda-overloading.iml │ │ ├── misc.xml │ │ ├── modules.xml │ │ └── vcs.xml │ ├── CMakeLists.txt │ ├── REFERENCES.md │ └── main.cpp ├── pass-fn-to-tpl │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh ├── pass-tpl-fn-as-param │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh ├── stat-fn-as-tpl-param │ ├── .gitignore │ ├── main.cc │ └── run.sh ├── tpl-and-override │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── misc.xml │ │ ├── modules.xml │ │ ├── tpl-and-override.iml │ │ └── vcs.xml │ ├── CMakeLists.txt │ └── main.cpp ├── tpl-class-separate-def │ ├── .gitignore │ ├── MyClass.cpp │ ├── MyClass.hpp │ ├── REFERENCES.md │ ├── main.cpp │ └── run.sh ├── tpl-fn-return │ ├── .gitignore │ ├── main.cc │ └── run.sh ├── tpl-method-spec │ ├── .gitignore │ ├── IPrimitiveStorage.h │ ├── TPrimitiveStorage.cc │ ├── TPrimitiveStorage.h │ ├── main.cc │ └── run.sh ├── tpl-method-specialization-cpp │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── misc.xml │ │ ├── modules.xml │ │ ├── tpl-method-specialization-cpp.iml │ │ └── vcs.xml │ ├── CMakeLists.txt │ ├── StringUtils.cpp │ ├── StringUtils.h │ └── main.cpp ├── tpl-proxy │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ └── misc.xml │ ├── CMakeLists.txt │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh ├── tpl-struct-property-getter │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh ├── tpl-with-arr-getter │ ├── .gitignore │ ├── main.cc │ └── run.sh ├── type-traits-is-pointer │ ├── .gitignore │ ├── main.cc │ └── run.sh ├── var-tpl-and-fold-expr │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh ├── var-tpl-lambda │ ├── .gitignore │ ├── main.cc │ └── run.sh ├── variadic-tpl │ ├── .gitignore │ ├── Console.h │ ├── REFERENCES.md │ ├── main.cpp │ └── run.sh └── virtual-with-tpl │ ├── .gitignore │ ├── main.cc │ └── run.sh ├── type-erasure └── rpg-game │ ├── .gitignore │ ├── .idea │ ├── .gitignore │ ├── .name │ ├── misc.xml │ ├── modules.xml │ ├── rpg-game.iml │ └── vcs.xml │ ├── CMakeLists.txt │ ├── Object.cc │ ├── Object.h │ ├── ObjectConcept.h │ ├── REFERENCES.md │ ├── items │ ├── Armor.h │ ├── FireScroll.h │ ├── Helmet.h │ ├── PoisonPotion.h │ ├── Potion.h │ ├── README.md │ ├── Scroll.h │ └── Weapon.h │ └── main.cc ├── type └── fwd-dec │ ├── .gitignore │ ├── .idea │ ├── .gitignore │ ├── .name │ ├── fwd-dec.iml │ ├── misc.xml │ └── modules.xml │ ├── CMakeLists.txt │ ├── First.cpp │ ├── First.hpp │ ├── Fourth.cpp │ ├── Fourth.hpp │ ├── README.md │ ├── REFERENCES.md │ ├── Second.cpp │ ├── Second.hpp │ ├── Third.cpp │ ├── Third.hpp │ └── main.cpp ├── union ├── pass-union-to-function │ ├── .gitignore │ ├── REFERENCES.md │ ├── get-list-of-supported-standards-in-clang.sh │ ├── list-of-supported-standards-in-clang.txt │ ├── main.cpp │ └── run.sh ├── union-and-stream-insertion-operator │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── misc.xml │ │ ├── modules.xml │ │ ├── union-and-stream-insertion-operator.iml │ │ └── vcs.xml │ ├── CMakeLists.txt │ ├── Vector3.h │ ├── foo.cpp │ └── main.cpp └── union-of-ptr │ ├── .gitignore │ ├── main.cc │ └── run.sh ├── virtual ├── chg-type-of-param-in-subclass-method │ ├── .gitignore │ ├── main.cc │ └── run.sh ├── virtual-method-default-parameter │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── misc.xml │ │ ├── modules.xml │ │ ├── vcs.xml │ │ └── virtual-method-default-parameter.iml │ ├── CMakeLists.txt │ ├── REFERENCES.md │ └── main.cpp └── virtual-variadic-method │ ├── .gitignore │ ├── REFERENCES.md │ ├── main.cc │ └── run.sh └── way-to-declare-an-interface ├── README.md ├── REFERENCES.md ├── example-1 ├── .gitignore ├── Testable.h ├── main.cpp └── program.sh ├── example-2 ├── .gitignore ├── Testable.h ├── main.cpp └── program.sh ├── example-3 ├── .gitignore ├── Testable.h ├── main.cpp └── program.sh ├── example-4 ├── .gitignore ├── Testable.h ├── main.cpp └── program.sh ├── example-5 ├── .gitignore ├── Testable.h ├── main.cpp └── program.sh └── example-6 ├── README.md ├── crtp ├── .gitignore ├── StaticImplementation.h ├── StaticInterface.h ├── enable_down_cast.h ├── main.cpp └── program.sh └── nvi ├── .gitignore ├── DynamicImplementation.h ├── DynamicInterface.h ├── main.cpp └── program.sh /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/README.md -------------------------------------------------------------------------------- /cache/bigint/cpp-nutshell/139.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/bigint/cpp-nutshell/139.png -------------------------------------------------------------------------------- /cache/bigint/cpp-nutshell/140.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/bigint/cpp-nutshell/140.png -------------------------------------------------------------------------------- /cache/bigint/cpp-nutshell/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/bigint/cpp-nutshell/README.md -------------------------------------------------------------------------------- /cache/cache-last-lookup/cpp-faq/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/cache-last-lookup/cpp-faq/1.png -------------------------------------------------------------------------------- /cache/cache-last-lookup/cpp-faq/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/cache-last-lookup/cpp-faq/2.png -------------------------------------------------------------------------------- /cache/cache-last-lookup/cpp-faq/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/cache-last-lookup/cpp-faq/3.png -------------------------------------------------------------------------------- /cache/cache-last-lookup/cpp-faq/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/cache-last-lookup/cpp-faq/README.md -------------------------------------------------------------------------------- /cache/compute-cache-value/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/compute-cache-value/.gitignore -------------------------------------------------------------------------------- /cache/compute-cache-value/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/compute-cache-value/main.cc -------------------------------------------------------------------------------- /cache/compute-cache-value/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/compute-cache-value/run.sh -------------------------------------------------------------------------------- /cache/compute-cache-value/stroustrup/463-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/compute-cache-value/stroustrup/463-1.png -------------------------------------------------------------------------------- /cache/compute-cache-value/stroustrup/463-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/compute-cache-value/stroustrup/463-2.png -------------------------------------------------------------------------------- /cache/compute-cache-value/stroustrup/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/compute-cache-value/stroustrup/README.md -------------------------------------------------------------------------------- /cache/qtablewidgetitem-cell/blanchette/91.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/qtablewidgetitem-cell/blanchette/91.png -------------------------------------------------------------------------------- /cache/qtablewidgetitem-cell/blanchette/92-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/qtablewidgetitem-cell/blanchette/92-1.png -------------------------------------------------------------------------------- /cache/qtablewidgetitem-cell/blanchette/92-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/qtablewidgetitem-cell/blanchette/92-2.png -------------------------------------------------------------------------------- /cache/qtablewidgetitem-cell/blanchette/93-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/qtablewidgetitem-cell/blanchette/93-1.png -------------------------------------------------------------------------------- /cache/qtablewidgetitem-cell/blanchette/93-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/qtablewidgetitem-cell/blanchette/93-2.png -------------------------------------------------------------------------------- /cache/qtablewidgetitem-cell/blanchette/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/cache/qtablewidgetitem-cell/blanchette/README.md -------------------------------------------------------------------------------- /class/return-private-class-instance/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/class/return-private-class-instance/main.cc -------------------------------------------------------------------------------- /class/return-private-class-instance/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/class/return-private-class-instance/run.sh -------------------------------------------------------------------------------- /const/const-ptr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/const-ptr/.gitignore -------------------------------------------------------------------------------- /const/const-ptr/MyClass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/const-ptr/MyClass.cpp -------------------------------------------------------------------------------- /const/const-ptr/MyClass.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/const-ptr/MyClass.h -------------------------------------------------------------------------------- /const/const-ptr/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/const-ptr/README.md -------------------------------------------------------------------------------- /const/const-ptr/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/const-ptr/REFERENCES.md -------------------------------------------------------------------------------- /const/const-ptr/fundamental_ptr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/const-ptr/fundamental_ptr.h -------------------------------------------------------------------------------- /const/const-ptr/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/const-ptr/main.cpp -------------------------------------------------------------------------------- /const/const-ptr/ptr2ptr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/const-ptr/ptr2ptr.h -------------------------------------------------------------------------------- /const/const-ptr/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/const-ptr/run.sh -------------------------------------------------------------------------------- /const/methods-with-same-name-without-args/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/methods-with-same-name-without-args/main.cc -------------------------------------------------------------------------------- /const/methods-with-same-name-without-args/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/methods-with-same-name-without-args/run.sh -------------------------------------------------------------------------------- /const/mutable-and-reference-operator/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/mutable-and-reference-operator/.gitignore -------------------------------------------------------------------------------- /const/mutable-and-reference-operator/.idea/.name: -------------------------------------------------------------------------------- 1 | MutableAndReferenceOperator -------------------------------------------------------------------------------- /const/mutable-and-reference-operator/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/mutable-and-reference-operator/.idea/misc.xml -------------------------------------------------------------------------------- /const/mutable-and-reference-operator/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/mutable-and-reference-operator/.idea/vcs.xml -------------------------------------------------------------------------------- /const/mutable-and-reference-operator/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/mutable-and-reference-operator/CMakeLists.txt -------------------------------------------------------------------------------- /const/mutable-and-reference-operator/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/mutable-and-reference-operator/main.cpp -------------------------------------------------------------------------------- /const/mutable-and-reference-operator/type_name.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/mutable-and-reference-operator/type_name.h -------------------------------------------------------------------------------- /const/remove-const-from-type/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/remove-const-from-type/.gitignore -------------------------------------------------------------------------------- /const/remove-const-from-type/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/remove-const-from-type/.idea/.gitignore -------------------------------------------------------------------------------- /const/remove-const-from-type/.idea/.name: -------------------------------------------------------------------------------- 1 | RemoveConstFromType -------------------------------------------------------------------------------- /const/remove-const-from-type/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/remove-const-from-type/.idea/misc.xml -------------------------------------------------------------------------------- /const/remove-const-from-type/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/remove-const-from-type/.idea/modules.xml -------------------------------------------------------------------------------- /const/remove-const-from-type/.idea/qmlSettings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/remove-const-from-type/.idea/qmlSettings.xml -------------------------------------------------------------------------------- /const/remove-const-from-type/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/remove-const-from-type/.idea/vcs.xml -------------------------------------------------------------------------------- /const/remove-const-from-type/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/remove-const-from-type/CMakeLists.txt -------------------------------------------------------------------------------- /const/remove-const-from-type/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/remove-const-from-type/main.cpp -------------------------------------------------------------------------------- /const/std-vector-with-const-el/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/std-vector-with-const-el/.gitignore -------------------------------------------------------------------------------- /const/std-vector-with-const-el/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/std-vector-with-const-el/REFERENCES.md -------------------------------------------------------------------------------- /const/std-vector-with-const-el/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/std-vector-with-const-el/main.cpp -------------------------------------------------------------------------------- /const/std-vector-with-const-el/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/const/std-vector-with-const-el/run.sh -------------------------------------------------------------------------------- /crtp/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/REFERENCES.md -------------------------------------------------------------------------------- /crtp/example-1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-1/.gitignore -------------------------------------------------------------------------------- /crtp/example-1/Base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-1/Base.h -------------------------------------------------------------------------------- /crtp/example-1/Derived.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-1/Derived.h -------------------------------------------------------------------------------- /crtp/example-1/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-1/main.cpp -------------------------------------------------------------------------------- /crtp/example-1/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-1/run.sh -------------------------------------------------------------------------------- /crtp/example-2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-2/README.md -------------------------------------------------------------------------------- /crtp/example-2/with-crtp/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-2/with-crtp/.gitignore -------------------------------------------------------------------------------- /crtp/example-2/with-crtp/Base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-2/with-crtp/Base.h -------------------------------------------------------------------------------- /crtp/example-2/with-crtp/Derived.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-2/with-crtp/Derived.h -------------------------------------------------------------------------------- /crtp/example-2/with-crtp/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-2/with-crtp/main.cpp -------------------------------------------------------------------------------- /crtp/example-2/with-crtp/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-2/with-crtp/run.sh -------------------------------------------------------------------------------- /crtp/example-2/with-no-crtp/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-2/with-no-crtp/.gitignore -------------------------------------------------------------------------------- /crtp/example-2/with-no-crtp/Base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-2/with-no-crtp/Base.h -------------------------------------------------------------------------------- /crtp/example-2/with-no-crtp/Derived.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-2/with-no-crtp/Derived.h -------------------------------------------------------------------------------- /crtp/example-2/with-no-crtp/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-2/with-no-crtp/main.cpp -------------------------------------------------------------------------------- /crtp/example-2/with-no-crtp/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-2/with-no-crtp/run.sh -------------------------------------------------------------------------------- /crtp/example-3/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-3/.gitignore -------------------------------------------------------------------------------- /crtp/example-3/A.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-3/A.h -------------------------------------------------------------------------------- /crtp/example-3/B.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-3/B.h -------------------------------------------------------------------------------- /crtp/example-3/C.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-3/C.h -------------------------------------------------------------------------------- /crtp/example-3/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-3/main.cpp -------------------------------------------------------------------------------- /crtp/example-3/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-3/run.sh -------------------------------------------------------------------------------- /crtp/example-4/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-4/.gitignore -------------------------------------------------------------------------------- /crtp/example-4/README.md: -------------------------------------------------------------------------------- 1 | ![Иерархия классов](drawing.svg) 2 | -------------------------------------------------------------------------------- /crtp/example-4/drawing.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-4/drawing.svg -------------------------------------------------------------------------------- /crtp/example-4/level0.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-4/level0.h -------------------------------------------------------------------------------- /crtp/example-4/level0_impl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-4/level0_impl.h -------------------------------------------------------------------------------- /crtp/example-4/level1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-4/level1.h -------------------------------------------------------------------------------- /crtp/example-4/level1_impl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-4/level1_impl.h -------------------------------------------------------------------------------- /crtp/example-4/level2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-4/level2.h -------------------------------------------------------------------------------- /crtp/example-4/level2_impl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-4/level2_impl.h -------------------------------------------------------------------------------- /crtp/example-4/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-4/main.cpp -------------------------------------------------------------------------------- /crtp/example-4/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-4/run.sh -------------------------------------------------------------------------------- /crtp/example-5/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-5/.gitignore -------------------------------------------------------------------------------- /crtp/example-5/Base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-5/Base.h -------------------------------------------------------------------------------- /crtp/example-5/NonOverriding.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-5/NonOverriding.h -------------------------------------------------------------------------------- /crtp/example-5/Overriding.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-5/Overriding.h -------------------------------------------------------------------------------- /crtp/example-5/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-5/main.cpp -------------------------------------------------------------------------------- /crtp/example-5/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-5/run.sh -------------------------------------------------------------------------------- /crtp/example-6/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-6/.gitignore -------------------------------------------------------------------------------- /crtp/example-6/A.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-6/A.h -------------------------------------------------------------------------------- /crtp/example-6/B.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-6/B.h -------------------------------------------------------------------------------- /crtp/example-6/C.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-6/C.h -------------------------------------------------------------------------------- /crtp/example-6/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-6/README.md -------------------------------------------------------------------------------- /crtp/example-6/Type2Type.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-6/Type2Type.h -------------------------------------------------------------------------------- /crtp/example-6/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-6/main.cpp -------------------------------------------------------------------------------- /crtp/example-6/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-6/run.sh -------------------------------------------------------------------------------- /crtp/example-7/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-7/.gitignore -------------------------------------------------------------------------------- /crtp/example-7/A.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-7/A.h -------------------------------------------------------------------------------- /crtp/example-7/B.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-7/B.h -------------------------------------------------------------------------------- /crtp/example-7/C.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-7/C.h -------------------------------------------------------------------------------- /crtp/example-7/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-7/main.cpp -------------------------------------------------------------------------------- /crtp/example-7/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/crtp/example-7/run.sh -------------------------------------------------------------------------------- /ctor/assignment-and-copy-ctor/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/assignment-and-copy-ctor/.gitignore -------------------------------------------------------------------------------- /ctor/assignment-and-copy-ctor/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/assignment-and-copy-ctor/REFERENCES.md -------------------------------------------------------------------------------- /ctor/assignment-and-copy-ctor/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/assignment-and-copy-ctor/main.cpp -------------------------------------------------------------------------------- /ctor/assignment-and-copy-ctor/run-clang.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/assignment-and-copy-ctor/run-clang.sh -------------------------------------------------------------------------------- /ctor/auto-return-copy-ctor/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/auto-return-copy-ctor/.gitignore -------------------------------------------------------------------------------- /ctor/auto-return-copy-ctor/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/auto-return-copy-ctor/.idea/.gitignore -------------------------------------------------------------------------------- /ctor/auto-return-copy-ctor/.idea/.name: -------------------------------------------------------------------------------- 1 | AutoReturnCopyConstructor -------------------------------------------------------------------------------- /ctor/auto-return-copy-ctor/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/auto-return-copy-ctor/.idea/misc.xml -------------------------------------------------------------------------------- /ctor/auto-return-copy-ctor/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/auto-return-copy-ctor/.idea/modules.xml -------------------------------------------------------------------------------- /ctor/auto-return-copy-ctor/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/auto-return-copy-ctor/.idea/vcs.xml -------------------------------------------------------------------------------- /ctor/auto-return-copy-ctor/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/auto-return-copy-ctor/CMakeLists.txt -------------------------------------------------------------------------------- /ctor/auto-return-copy-ctor/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/auto-return-copy-ctor/main.cpp -------------------------------------------------------------------------------- /ctor/init-priority/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/init-priority/.gitignore -------------------------------------------------------------------------------- /ctor/init-priority/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/init-priority/.idea/.gitignore -------------------------------------------------------------------------------- /ctor/init-priority/.idea/.name: -------------------------------------------------------------------------------- 1 | InitPriority -------------------------------------------------------------------------------- /ctor/init-priority/.idea/init-priority.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/init-priority/.idea/init-priority.iml -------------------------------------------------------------------------------- /ctor/init-priority/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/init-priority/.idea/misc.xml -------------------------------------------------------------------------------- /ctor/init-priority/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/init-priority/.idea/modules.xml -------------------------------------------------------------------------------- /ctor/init-priority/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/init-priority/.idea/vcs.xml -------------------------------------------------------------------------------- /ctor/init-priority/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/init-priority/CMakeLists.txt -------------------------------------------------------------------------------- /ctor/init-priority/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/init-priority/main.cpp -------------------------------------------------------------------------------- /ctor/return-optimization-copy-ctor/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/return-optimization-copy-ctor/.gitignore -------------------------------------------------------------------------------- /ctor/return-optimization-copy-ctor/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/return-optimization-copy-ctor/REFERENCES.md -------------------------------------------------------------------------------- /ctor/return-optimization-copy-ctor/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/return-optimization-copy-ctor/main.cpp -------------------------------------------------------------------------------- /ctor/return-optimization-copy-ctor/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ctor/return-optimization-copy-ctor/run.sh -------------------------------------------------------------------------------- /declaration-and-definition-of-stand-alone-function-in-different-places/b.h: -------------------------------------------------------------------------------- 1 | void foo(); 2 | -------------------------------------------------------------------------------- /declare-interface-cpp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/README.md -------------------------------------------------------------------------------- /declare-interface-cpp/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/REFERENCES.md -------------------------------------------------------------------------------- /declare-interface-cpp/example-1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-1/.gitignore -------------------------------------------------------------------------------- /declare-interface-cpp/example-1/Child.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-1/Child.h -------------------------------------------------------------------------------- /declare-interface-cpp/example-1/IDemo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-1/IDemo.h -------------------------------------------------------------------------------- /declare-interface-cpp/example-1/Parent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-1/Parent.h -------------------------------------------------------------------------------- /declare-interface-cpp/example-1/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-1/main.cpp -------------------------------------------------------------------------------- /declare-interface-cpp/example-1/program.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-1/program.sh -------------------------------------------------------------------------------- /declare-interface-cpp/example-2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-2/.gitignore -------------------------------------------------------------------------------- /declare-interface-cpp/example-2/A.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-2/A.h -------------------------------------------------------------------------------- /declare-interface-cpp/example-2/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-2/main.cpp -------------------------------------------------------------------------------- /declare-interface-cpp/example-2/program.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-2/program.sh -------------------------------------------------------------------------------- /declare-interface-cpp/example-3/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-3/.gitignore -------------------------------------------------------------------------------- /declare-interface-cpp/example-3/Child.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-3/Child.h -------------------------------------------------------------------------------- /declare-interface-cpp/example-3/IDemo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-3/IDemo.h -------------------------------------------------------------------------------- /declare-interface-cpp/example-3/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-3/main.cpp -------------------------------------------------------------------------------- /declare-interface-cpp/example-3/program.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-3/program.sh -------------------------------------------------------------------------------- /declare-interface-cpp/example-4/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-4/.gitignore -------------------------------------------------------------------------------- /declare-interface-cpp/example-4/IBase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-4/IBase.h -------------------------------------------------------------------------------- /declare-interface-cpp/example-4/Tester.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-4/Tester.cpp -------------------------------------------------------------------------------- /declare-interface-cpp/example-4/Tester.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-4/Tester.h -------------------------------------------------------------------------------- /declare-interface-cpp/example-4/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-4/main.cpp -------------------------------------------------------------------------------- /declare-interface-cpp/example-4/program.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-4/program.sh -------------------------------------------------------------------------------- /declare-interface-cpp/example-5/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-5/.gitignore -------------------------------------------------------------------------------- /declare-interface-cpp/example-5/Child.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-5/Child.h -------------------------------------------------------------------------------- /declare-interface-cpp/example-5/IDemo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-5/IDemo.h -------------------------------------------------------------------------------- /declare-interface-cpp/example-5/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-5/main.cpp -------------------------------------------------------------------------------- /declare-interface-cpp/example-5/program.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-5/program.sh -------------------------------------------------------------------------------- /declare-interface-cpp/example-6/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-6/.gitignore -------------------------------------------------------------------------------- /declare-interface-cpp/example-6/foo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-6/foo.cpp -------------------------------------------------------------------------------- /declare-interface-cpp/example-6/foo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-6/foo.h -------------------------------------------------------------------------------- /declare-interface-cpp/example-6/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-6/main.cpp -------------------------------------------------------------------------------- /declare-interface-cpp/example-6/program.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/declare-interface-cpp/example-6/program.sh -------------------------------------------------------------------------------- /dtor-virtual/example-1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor-virtual/example-1/.gitignore -------------------------------------------------------------------------------- /dtor-virtual/example-1/A.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor-virtual/example-1/A.h -------------------------------------------------------------------------------- /dtor-virtual/example-1/B.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor-virtual/example-1/B.h -------------------------------------------------------------------------------- /dtor-virtual/example-1/C.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor-virtual/example-1/C.h -------------------------------------------------------------------------------- /dtor-virtual/example-1/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor-virtual/example-1/main.cpp -------------------------------------------------------------------------------- /dtor-virtual/example-1/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor-virtual/example-1/run.sh -------------------------------------------------------------------------------- /dtor/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/.gitignore -------------------------------------------------------------------------------- /dtor/A.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/A.h -------------------------------------------------------------------------------- /dtor/B.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/B.h -------------------------------------------------------------------------------- /dtor/C.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/C.h -------------------------------------------------------------------------------- /dtor/D.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/D.h -------------------------------------------------------------------------------- /dtor/E.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/E.h -------------------------------------------------------------------------------- /dtor/F.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/F.h -------------------------------------------------------------------------------- /dtor/G.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/G.h -------------------------------------------------------------------------------- /dtor/H.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/H.h -------------------------------------------------------------------------------- /dtor/I.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/I.h -------------------------------------------------------------------------------- /dtor/J.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/J.h -------------------------------------------------------------------------------- /dtor/K.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/K.h -------------------------------------------------------------------------------- /dtor/L.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/L.h -------------------------------------------------------------------------------- /dtor/M.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/M.h -------------------------------------------------------------------------------- /dtor/N.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/N.h -------------------------------------------------------------------------------- /dtor/O.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/O.h -------------------------------------------------------------------------------- /dtor/P.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/P.h -------------------------------------------------------------------------------- /dtor/Q.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/Q.h -------------------------------------------------------------------------------- /dtor/R.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/R.h -------------------------------------------------------------------------------- /dtor/S.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/S.h -------------------------------------------------------------------------------- /dtor/T.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/T.h -------------------------------------------------------------------------------- /dtor/U.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/U.h -------------------------------------------------------------------------------- /dtor/V.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/V.h -------------------------------------------------------------------------------- /dtor/W.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/W.h -------------------------------------------------------------------------------- /dtor/X.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/X.cpp -------------------------------------------------------------------------------- /dtor/X.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/X.h -------------------------------------------------------------------------------- /dtor/Y.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/Y.h -------------------------------------------------------------------------------- /dtor/Z.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/Z.h -------------------------------------------------------------------------------- /dtor/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/main.cpp -------------------------------------------------------------------------------- /dtor/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/dtor/run.sh -------------------------------------------------------------------------------- /endianness/little-endian/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/endianness/little-endian/.gitignore -------------------------------------------------------------------------------- /endianness/little-endian/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/endianness/little-endian/README.md -------------------------------------------------------------------------------- /endianness/little-endian/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/endianness/little-endian/REFERENCES.md -------------------------------------------------------------------------------- /endianness/little-endian/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/endianness/little-endian/main.cc -------------------------------------------------------------------------------- /endianness/little-endian/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/endianness/little-endian/run.sh -------------------------------------------------------------------------------- /endianness/little-endian/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/endianness/little-endian/utils.h -------------------------------------------------------------------------------- /enum/bit-mask-with-enum-as-flag/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/bit-mask-with-enum-as-flag/.gitignore -------------------------------------------------------------------------------- /enum/bit-mask-with-enum-as-flag/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/bit-mask-with-enum-as-flag/REFERENCES.md -------------------------------------------------------------------------------- /enum/bit-mask-with-enum-as-flag/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/bit-mask-with-enum-as-flag/main.cpp -------------------------------------------------------------------------------- /enum/bit-mask-with-enum-as-flag/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/bit-mask-with-enum-as-flag/run.sh -------------------------------------------------------------------------------- /enum/enum-converter/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/enum-converter/.gitignore -------------------------------------------------------------------------------- /enum/enum-converter/Color.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/enum-converter/Color.h -------------------------------------------------------------------------------- /enum/enum-converter/DifferentTypesValuesMapper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/enum-converter/DifferentTypesValuesMapper.h -------------------------------------------------------------------------------- /enum/enum-converter/Mapper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/enum-converter/Mapper.h -------------------------------------------------------------------------------- /enum/enum-converter/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/enum-converter/REFERENCES.md -------------------------------------------------------------------------------- /enum/enum-converter/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/enum-converter/main.cc -------------------------------------------------------------------------------- /enum/enum-converter/other.cc: -------------------------------------------------------------------------------- 1 | #include "Color.h" -------------------------------------------------------------------------------- /enum/enum-converter/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/enum-converter/run.sh -------------------------------------------------------------------------------- /enum/pass-enum-as-int-arr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/pass-enum-as-int-arr/.gitignore -------------------------------------------------------------------------------- /enum/pass-enum-as-int-arr/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/pass-enum-as-int-arr/REFERENCES.md -------------------------------------------------------------------------------- /enum/pass-enum-as-int-arr/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/pass-enum-as-int-arr/main.cc -------------------------------------------------------------------------------- /enum/pass-enum-as-int-arr/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/pass-enum-as-int-arr/run.sh -------------------------------------------------------------------------------- /enum/pass-enum-to-function/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/pass-enum-to-function/.gitignore -------------------------------------------------------------------------------- /enum/pass-enum-to-function/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/pass-enum-to-function/main.cpp -------------------------------------------------------------------------------- /enum/pass-enum-to-function/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/enum/pass-enum-to-function/run.sh -------------------------------------------------------------------------------- /errors/lambda-param-shadow-captured-entity/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/errors/lambda-param-shadow-captured-entity/main.cpp -------------------------------------------------------------------------------- /errors/lambda-param-shadow-captured-entity/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/errors/lambda-param-shadow-captured-entity/run.sh -------------------------------------------------------------------------------- /errors/multiple-definitions-of-stand-alone-function-in-source-files/a.cpp: -------------------------------------------------------------------------------- 1 | void foo() { 2 | return; 3 | } 4 | -------------------------------------------------------------------------------- /errors/multiple-definitions-of-stand-alone-function-in-source-files/b.cpp: -------------------------------------------------------------------------------- 1 | void foo() { 2 | return; 3 | } 4 | -------------------------------------------------------------------------------- /errors/multiple-definitions-of-variables-in-source-files/b.cpp: -------------------------------------------------------------------------------- 1 | int b = 20; 2 | -------------------------------------------------------------------------------- /fn/pass-static-arr-of-ptr-into-fn/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fn/pass-static-arr-of-ptr-into-fn/.gitignore -------------------------------------------------------------------------------- /fn/pass-static-arr-of-ptr-into-fn/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fn/pass-static-arr-of-ptr-into-fn/REFERENCES.md -------------------------------------------------------------------------------- /fn/pass-static-arr-of-ptr-into-fn/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fn/pass-static-arr-of-ptr-into-fn/main.cc -------------------------------------------------------------------------------- /fn/pass-static-arr-of-ptr-into-fn/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fn/pass-static-arr-of-ptr-into-fn/run.sh -------------------------------------------------------------------------------- /fn/tpl-fn-spec/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fn/tpl-fn-spec/REFERENCES.md -------------------------------------------------------------------------------- /fn/tpl-fn-spec/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fn/tpl-fn-spec/main.cc -------------------------------------------------------------------------------- /fn/tpl-fn-spec/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fn/tpl-fn-spec/run.sh -------------------------------------------------------------------------------- /fs/copy-dir/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/copy-dir/.gitignore -------------------------------------------------------------------------------- /fs/copy-dir/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/copy-dir/.idea/.gitignore -------------------------------------------------------------------------------- /fs/copy-dir/.idea/.name: -------------------------------------------------------------------------------- 1 | CopyDir -------------------------------------------------------------------------------- /fs/copy-dir/.idea/copy-dir.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/copy-dir/.idea/copy-dir.iml -------------------------------------------------------------------------------- /fs/copy-dir/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/copy-dir/.idea/misc.xml -------------------------------------------------------------------------------- /fs/copy-dir/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/copy-dir/.idea/modules.xml -------------------------------------------------------------------------------- /fs/copy-dir/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/copy-dir/CMakeLists.txt -------------------------------------------------------------------------------- /fs/copy-dir/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/copy-dir/REFERENCES.md -------------------------------------------------------------------------------- /fs/copy-dir/StrUtils.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/copy-dir/StrUtils.cc -------------------------------------------------------------------------------- /fs/copy-dir/StrUtils.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/copy-dir/StrUtils.hpp -------------------------------------------------------------------------------- /fs/copy-dir/a/a1.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fs/copy-dir/a/a2.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fs/copy-dir/a/aa/aa1.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fs/copy-dir/a/aa/aaa/aaa1.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fs/copy-dir/a/aa/aaa/aaa2.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fs/copy-dir/a/ab/ab1.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fs/copy-dir/a/ab/ab2.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fs/copy-dir/b/a1.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fs/copy-dir/b/a2.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fs/copy-dir/b/aa/aa1.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fs/copy-dir/b/aa/aaa/aaa1.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fs/copy-dir/b/aa/aaa/aaa2.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fs/copy-dir/b/ab/ab1.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fs/copy-dir/b/ab/ab2.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fs/copy-dir/filesystem.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/copy-dir/filesystem.hpp -------------------------------------------------------------------------------- /fs/copy-dir/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/copy-dir/main.cc -------------------------------------------------------------------------------- /fs/out-to-file/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/out-to-file/.gitignore -------------------------------------------------------------------------------- /fs/out-to-file/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/out-to-file/REFERENCES.md -------------------------------------------------------------------------------- /fs/out-to-file/hello.txt: -------------------------------------------------------------------------------- 1 | Hello, World! 2 | -------------------------------------------------------------------------------- /fs/out-to-file/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/out-to-file/main.cpp -------------------------------------------------------------------------------- /fs/out-to-file/run-clang++.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/out-to-file/run-clang++.sh -------------------------------------------------------------------------------- /fs/out-to-file/run-g++.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/out-to-file/run-g++.sh -------------------------------------------------------------------------------- /fs/posix-create-dir-if-not-exists/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/posix-create-dir-if-not-exists/.gitignore -------------------------------------------------------------------------------- /fs/posix-create-dir-if-not-exists/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/posix-create-dir-if-not-exists/.idea/misc.xml -------------------------------------------------------------------------------- /fs/posix-create-dir-if-not-exists/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/posix-create-dir-if-not-exists/.idea/modules.xml -------------------------------------------------------------------------------- /fs/posix-create-dir-if-not-exists/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/posix-create-dir-if-not-exists/CMakeLists.txt -------------------------------------------------------------------------------- /fs/posix-create-dir-if-not-exists/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/posix-create-dir-if-not-exists/REFERENCES.md -------------------------------------------------------------------------------- /fs/posix-create-dir-if-not-exists/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/posix-create-dir-if-not-exists/main.cpp -------------------------------------------------------------------------------- /fs/posix-create-dir-if-not-exists/run-clang++.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/posix-create-dir-if-not-exists/run-clang++.sh -------------------------------------------------------------------------------- /fs/posix-create-dir-if-not-exists/run-g++.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fs/posix-create-dir-if-not-exists/run-g++.sh -------------------------------------------------------------------------------- /fundamental/assign-bool-to-int/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/assign-bool-to-int/.gitignore -------------------------------------------------------------------------------- /fundamental/assign-bool-to-int/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/assign-bool-to-int/.idea/.gitignore -------------------------------------------------------------------------------- /fundamental/assign-bool-to-int/.idea/.name: -------------------------------------------------------------------------------- 1 | AssingBoolToInt -------------------------------------------------------------------------------- /fundamental/assign-bool-to-int/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/assign-bool-to-int/.idea/misc.xml -------------------------------------------------------------------------------- /fundamental/assign-bool-to-int/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/assign-bool-to-int/.idea/modules.xml -------------------------------------------------------------------------------- /fundamental/assign-bool-to-int/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/assign-bool-to-int/.idea/vcs.xml -------------------------------------------------------------------------------- /fundamental/assign-bool-to-int/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/assign-bool-to-int/CMakeLists.txt -------------------------------------------------------------------------------- /fundamental/assign-bool-to-int/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/assign-bool-to-int/main.cpp -------------------------------------------------------------------------------- /fundamental/bin-repr-of-type-val/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/bin-repr-of-type-val/.gitignore -------------------------------------------------------------------------------- /fundamental/bin-repr-of-type-val/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/bin-repr-of-type-val/REFERENCES.md -------------------------------------------------------------------------------- /fundamental/bin-repr-of-type-val/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/bin-repr-of-type-val/main.cc -------------------------------------------------------------------------------- /fundamental/bin-repr-of-type-val/output/char.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/bin-repr-of-type-val/output/char.txt -------------------------------------------------------------------------------- /fundamental/bin-repr-of-type-val/output/short.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/bin-repr-of-type-val/output/short.txt -------------------------------------------------------------------------------- /fundamental/bin-repr-of-type-val/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/bin-repr-of-type-val/run.sh -------------------------------------------------------------------------------- /fundamental/bin-repr-of-type-val/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/bin-repr-of-type-val/utils.h -------------------------------------------------------------------------------- /fundamental/bitwise-or-with-bool-type/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/bitwise-or-with-bool-type/.gitignore -------------------------------------------------------------------------------- /fundamental/bitwise-or-with-bool-type/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/bitwise-or-with-bool-type/main.cc -------------------------------------------------------------------------------- /fundamental/bitwise-or-with-bool-type/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/bitwise-or-with-bool-type/run.sh -------------------------------------------------------------------------------- /fundamental/fundamental-type-sz/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/fundamental-type-sz/.gitignore -------------------------------------------------------------------------------- /fundamental/fundamental-type-sz/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/fundamental-type-sz/main.cpp -------------------------------------------------------------------------------- /fundamental/fundamental-type-sz/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/fundamental-type-sz/run.sh -------------------------------------------------------------------------------- /fundamental/real2str/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/real2str/.gitignore -------------------------------------------------------------------------------- /fundamental/real2str/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/real2str/main.cc -------------------------------------------------------------------------------- /fundamental/real2str/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/real2str/run.sh -------------------------------------------------------------------------------- /fundamental/ulong-to-float/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/ulong-to-float/.gitignore -------------------------------------------------------------------------------- /fundamental/ulong-to-float/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/ulong-to-float/main.cc -------------------------------------------------------------------------------- /fundamental/ulong-to-float/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/ulong-to-float/run.sh -------------------------------------------------------------------------------- /fundamental/upcasting-signed/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/upcasting-signed/.gitignore -------------------------------------------------------------------------------- /fundamental/upcasting-signed/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/upcasting-signed/REFERENCES.md -------------------------------------------------------------------------------- /fundamental/upcasting-signed/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/upcasting-signed/main.cc -------------------------------------------------------------------------------- /fundamental/upcasting-signed/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/upcasting-signed/run.sh -------------------------------------------------------------------------------- /fundamental/upcasting-signed/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/fundamental/upcasting-signed/utils.h -------------------------------------------------------------------------------- /inheritance/change-access-modifier/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/change-access-modifier/.gitignore -------------------------------------------------------------------------------- /inheritance/change-access-modifier/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/change-access-modifier/.idea/.gitignore -------------------------------------------------------------------------------- /inheritance/change-access-modifier/.idea/.name: -------------------------------------------------------------------------------- 1 | ChangeAccessModifier -------------------------------------------------------------------------------- /inheritance/change-access-modifier/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/change-access-modifier/.idea/misc.xml -------------------------------------------------------------------------------- /inheritance/change-access-modifier/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/change-access-modifier/.idea/vcs.xml -------------------------------------------------------------------------------- /inheritance/change-access-modifier/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/change-access-modifier/CMakeLists.txt -------------------------------------------------------------------------------- /inheritance/change-access-modifier/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/change-access-modifier/README.md -------------------------------------------------------------------------------- /inheritance/change-access-modifier/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/change-access-modifier/main.cpp -------------------------------------------------------------------------------- /inheritance/def-arg-and-virt-func/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/def-arg-and-virt-func/.gitignore -------------------------------------------------------------------------------- /inheritance/def-arg-and-virt-func/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/def-arg-and-virt-func/REFERENCES.md -------------------------------------------------------------------------------- /inheritance/def-arg-and-virt-func/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/def-arg-and-virt-func/main.cc -------------------------------------------------------------------------------- /inheritance/def-arg-and-virt-func/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/def-arg-and-virt-func/run.sh -------------------------------------------------------------------------------- /inheritance/hide-virt-member-func/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/hide-virt-member-func/.gitignore -------------------------------------------------------------------------------- /inheritance/hide-virt-member-func/Base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/hide-virt-member-func/Base.h -------------------------------------------------------------------------------- /inheritance/hide-virt-member-func/Derived.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/hide-virt-member-func/Derived.cc -------------------------------------------------------------------------------- /inheritance/hide-virt-member-func/Derived.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/hide-virt-member-func/Derived.h -------------------------------------------------------------------------------- /inheritance/hide-virt-member-func/ITalker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/hide-virt-member-func/ITalker.h -------------------------------------------------------------------------------- /inheritance/hide-virt-member-func/MostDerived.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/hide-virt-member-func/MostDerived.cc -------------------------------------------------------------------------------- /inheritance/hide-virt-member-func/MostDerived.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/hide-virt-member-func/MostDerived.h -------------------------------------------------------------------------------- /inheritance/hide-virt-member-func/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/hide-virt-member-func/REFERENCES.md -------------------------------------------------------------------------------- /inheritance/hide-virt-member-func/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/hide-virt-member-func/main.cc -------------------------------------------------------------------------------- /inheritance/hide-virt-member-func/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/hide-virt-member-func/run.sh -------------------------------------------------------------------------------- /inheritance/inheritance-dynamic-cast-to-other-branch/README.md: -------------------------------------------------------------------------------- 1 | ![](hierarchy.png) -------------------------------------------------------------------------------- /inheritance/virtual-inheritance-dynamic-cast/README.md: -------------------------------------------------------------------------------- 1 | ![](hierarchy.png) -------------------------------------------------------------------------------- /inheritance/virtual-inheritance-dynamic-cast/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/inheritance/virtual-inheritance-dynamic-cast/run.sh -------------------------------------------------------------------------------- /interfaces/method-with-impl-in-interface/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/method-with-impl-in-interface/.gitignore -------------------------------------------------------------------------------- /interfaces/method-with-impl-in-interface/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/method-with-impl-in-interface/main.cc -------------------------------------------------------------------------------- /interfaces/method-with-impl-in-interface/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/method-with-impl-in-interface/run.sh -------------------------------------------------------------------------------- /interfaces/static-interfaces/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/static-interfaces/README.md -------------------------------------------------------------------------------- /interfaces/static-interfaces/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/static-interfaces/REFERENCES.md -------------------------------------------------------------------------------- /interfaces/static-interfaces/conversion_detection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/static-interfaces/conversion_detection.h -------------------------------------------------------------------------------- /interfaces/static-interfaces/mcnamara.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/static-interfaces/mcnamara.pdf -------------------------------------------------------------------------------- /interfaces/static-interfaces/static_isa.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/static-interfaces/static_isa.h -------------------------------------------------------------------------------- /interfaces/virtual/example-1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/virtual/example-1/.gitignore -------------------------------------------------------------------------------- /interfaces/virtual/example-1/Car.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/virtual/example-1/Car.h -------------------------------------------------------------------------------- /interfaces/virtual/example-1/IVehicle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/virtual/example-1/IVehicle.h -------------------------------------------------------------------------------- /interfaces/virtual/example-1/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/virtual/example-1/main.cpp -------------------------------------------------------------------------------- /interfaces/virtual/example-1/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/virtual/example-1/run.sh -------------------------------------------------------------------------------- /interfaces/virtual/example-2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/virtual/example-2/.gitignore -------------------------------------------------------------------------------- /interfaces/virtual/example-2/IGenerate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/virtual/example-2/IGenerate.h -------------------------------------------------------------------------------- /interfaces/virtual/example-2/KnownNumber.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/virtual/example-2/KnownNumber.h -------------------------------------------------------------------------------- /interfaces/virtual/example-2/SecretNumber.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/virtual/example-2/SecretNumber.h -------------------------------------------------------------------------------- /interfaces/virtual/example-2/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/virtual/example-2/main.cpp -------------------------------------------------------------------------------- /interfaces/virtual/example-2/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/interfaces/virtual/example-2/run.sh -------------------------------------------------------------------------------- /it/tree-iter/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/it/tree-iter/.gitignore -------------------------------------------------------------------------------- /it/tree-iter/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/it/tree-iter/REFERENCES.md -------------------------------------------------------------------------------- /it/tree-iter/TreeNode.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/it/tree-iter/TreeNode.cc -------------------------------------------------------------------------------- /it/tree-iter/TreeNode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/it/tree-iter/TreeNode.h -------------------------------------------------------------------------------- /it/tree-iter/TreeNodeIterator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/it/tree-iter/TreeNodeIterator.h -------------------------------------------------------------------------------- /it/tree-iter/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/it/tree-iter/main.cc -------------------------------------------------------------------------------- /it/tree-iter/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/it/tree-iter/run.sh -------------------------------------------------------------------------------- /lambda/capture-variadic-parameter-pack/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/lambda/capture-variadic-parameter-pack/.gitignore -------------------------------------------------------------------------------- /lambda/capture-variadic-parameter-pack/.idea/.name: -------------------------------------------------------------------------------- 1 | capture_variadic_parameter_pack -------------------------------------------------------------------------------- /lambda/capture-variadic-parameter-pack/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/lambda/capture-variadic-parameter-pack/main.cpp -------------------------------------------------------------------------------- /lambda/capture-variadic-parameter-pack/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/lambda/capture-variadic-parameter-pack/run.sh -------------------------------------------------------------------------------- /lambda/lambda-capture-this/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/lambda/lambda-capture-this/.gitignore -------------------------------------------------------------------------------- /lambda/lambda-capture-this/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/lambda/lambda-capture-this/.idea/.gitignore -------------------------------------------------------------------------------- /lambda/lambda-capture-this/.idea/.name: -------------------------------------------------------------------------------- 1 | LambdaCaptureThis -------------------------------------------------------------------------------- /lambda/lambda-capture-this/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/lambda/lambda-capture-this/.idea/misc.xml -------------------------------------------------------------------------------- /lambda/lambda-capture-this/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/lambda/lambda-capture-this/.idea/modules.xml -------------------------------------------------------------------------------- /lambda/lambda-capture-this/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/lambda/lambda-capture-this/CMakeLists.txt -------------------------------------------------------------------------------- /lambda/lambda-capture-this/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/lambda/lambda-capture-this/main.cpp -------------------------------------------------------------------------------- /macro/macro-concat/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/macro/macro-concat/.gitignore -------------------------------------------------------------------------------- /macro/macro-concat/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/macro/macro-concat/REFERENCES.md -------------------------------------------------------------------------------- /macro/macro-concat/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/macro/macro-concat/main.cc -------------------------------------------------------------------------------- /macro/macro-concat/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/macro/macro-concat/main.cpp -------------------------------------------------------------------------------- /macro/macro-concat/run-preprocessor-stage.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/macro/macro-concat/run-preprocessor-stage.sh -------------------------------------------------------------------------------- /macro/macro-concat/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/macro/macro-concat/run.sh -------------------------------------------------------------------------------- /member-initializer-list-params/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/member-initializer-list-params/.gitignore -------------------------------------------------------------------------------- /member-initializer-list-params/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/member-initializer-list-params/error.png -------------------------------------------------------------------------------- /memory/allocation-tracking/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/memory/allocation-tracking/.gitignore -------------------------------------------------------------------------------- /memory/allocation-tracking/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/memory/allocation-tracking/.idea/.gitignore -------------------------------------------------------------------------------- /memory/allocation-tracking/.idea/.name: -------------------------------------------------------------------------------- 1 | AllocationTracking -------------------------------------------------------------------------------- /memory/allocation-tracking/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/memory/allocation-tracking/.idea/misc.xml -------------------------------------------------------------------------------- /memory/allocation-tracking/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/memory/allocation-tracking/CMakeLists.txt -------------------------------------------------------------------------------- /memory/allocation-tracking/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/memory/allocation-tracking/REFERENCES.md -------------------------------------------------------------------------------- /memory/allocation-tracking/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/memory/allocation-tracking/main.cc -------------------------------------------------------------------------------- /memory/allocation-tracking/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/memory/allocation-tracking/run.sh -------------------------------------------------------------------------------- /memory/declare-variable-in-if/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/memory/declare-variable-in-if/.gitignore -------------------------------------------------------------------------------- /memory/declare-variable-in-if/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/memory/declare-variable-in-if/.idea/.gitignore -------------------------------------------------------------------------------- /memory/declare-variable-in-if/.idea/.name: -------------------------------------------------------------------------------- 1 | DeclareVariableInIf -------------------------------------------------------------------------------- /memory/declare-variable-in-if/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/memory/declare-variable-in-if/.idea/misc.xml -------------------------------------------------------------------------------- /memory/declare-variable-in-if/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/memory/declare-variable-in-if/.idea/modules.xml -------------------------------------------------------------------------------- /memory/declare-variable-in-if/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/memory/declare-variable-in-if/.idea/vcs.xml -------------------------------------------------------------------------------- /memory/declare-variable-in-if/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/memory/declare-variable-in-if/CMakeLists.txt -------------------------------------------------------------------------------- /memory/declare-variable-in-if/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/memory/declare-variable-in-if/main.cc -------------------------------------------------------------------------------- /method/fluent-interface/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/method/fluent-interface/.gitignore -------------------------------------------------------------------------------- /method/fluent-interface/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/method/fluent-interface/.idea/.gitignore -------------------------------------------------------------------------------- /method/fluent-interface/.idea/.name: -------------------------------------------------------------------------------- 1 | FluentInterface -------------------------------------------------------------------------------- /method/fluent-interface/.idea/fluent-interface.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/method/fluent-interface/.idea/fluent-interface.iml -------------------------------------------------------------------------------- /method/fluent-interface/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/method/fluent-interface/.idea/misc.xml -------------------------------------------------------------------------------- /method/fluent-interface/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/method/fluent-interface/.idea/modules.xml -------------------------------------------------------------------------------- /method/fluent-interface/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/method/fluent-interface/.idea/vcs.xml -------------------------------------------------------------------------------- /method/fluent-interface/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/method/fluent-interface/CMakeLists.txt -------------------------------------------------------------------------------- /method/fluent-interface/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/method/fluent-interface/main.cpp -------------------------------------------------------------------------------- /move-semantics/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/README.md -------------------------------------------------------------------------------- /move-semantics/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/REFERENCES.md -------------------------------------------------------------------------------- /move-semantics/move-lambda-as-param/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/move-lambda-as-param/.gitignore -------------------------------------------------------------------------------- /move-semantics/move-lambda-as-param/.idea/.name: -------------------------------------------------------------------------------- 1 | MoveLambda -------------------------------------------------------------------------------- /move-semantics/move-lambda-as-param/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/move-lambda-as-param/README.md -------------------------------------------------------------------------------- /move-semantics/move-lambda-as-param/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/move-lambda-as-param/main.cc -------------------------------------------------------------------------------- /move-semantics/move-lambda-as-param/test1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/move-lambda-as-param/test1.h -------------------------------------------------------------------------------- /move-semantics/move-lambda-as-param/test10.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/move-lambda-as-param/test10.h -------------------------------------------------------------------------------- /move-semantics/move-lambda-as-param/test11.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/move-lambda-as-param/test11.h -------------------------------------------------------------------------------- /move-semantics/move-lambda-as-param/test12.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/move-lambda-as-param/test12.h -------------------------------------------------------------------------------- /move-semantics/move-lambda-as-param/test2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/move-lambda-as-param/test2.h -------------------------------------------------------------------------------- /move-semantics/move-lambda-as-param/test3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/move-lambda-as-param/test3.h -------------------------------------------------------------------------------- /move-semantics/move-lambda-as-param/test4.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/move-lambda-as-param/test4.h -------------------------------------------------------------------------------- /move-semantics/move-lambda-as-param/test5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/move-lambda-as-param/test5.h -------------------------------------------------------------------------------- /move-semantics/move-lambda-as-param/test6.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/move-lambda-as-param/test6.h -------------------------------------------------------------------------------- /move-semantics/move-lambda-as-param/test7.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/move-lambda-as-param/test7.h -------------------------------------------------------------------------------- /move-semantics/move-lambda-as-param/test8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/move-lambda-as-param/test8.h -------------------------------------------------------------------------------- /move-semantics/move-lambda-as-param/test9.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/move-semantics/move-lambda-as-param/test9.h -------------------------------------------------------------------------------- /move-semantics/pass-std-unique-ptr-to-fn/.idea/.name: -------------------------------------------------------------------------------- 1 | PassStdUniquePtrToFn -------------------------------------------------------------------------------- /multithreading/cond-var-wait/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/multithreading/cond-var-wait/main.cc -------------------------------------------------------------------------------- /multithreading/cond-var-wait/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/multithreading/cond-var-wait/run.sh -------------------------------------------------------------------------------- /multithreading/std-async-n-future/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/multithreading/std-async-n-future/README.md -------------------------------------------------------------------------------- /multithreading/std-async-n-future/REFERENCES.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /multithreading/std-async-n-future/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/multithreading/std-async-n-future/main.cc -------------------------------------------------------------------------------- /multithreading/std-async-n-future/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/multithreading/std-async-n-future/run.sh -------------------------------------------------------------------------------- /multithreading/thread-id/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/multithreading/thread-id/REFERENCES.md -------------------------------------------------------------------------------- /multithreading/thread-id/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/multithreading/thread-id/main.cc -------------------------------------------------------------------------------- /multithreading/thread-id/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/multithreading/thread-id/run.sh -------------------------------------------------------------------------------- /ns/unnamed-namespace-within-named/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ns/unnamed-namespace-within-named/.gitignore -------------------------------------------------------------------------------- /ns/unnamed-namespace-within-named/.idea/.name: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ns/unnamed-namespace-within-named/.idea/.name -------------------------------------------------------------------------------- /ns/unnamed-namespace-within-named/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ns/unnamed-namespace-within-named/.idea/misc.xml -------------------------------------------------------------------------------- /ns/unnamed-namespace-within-named/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ns/unnamed-namespace-within-named/.idea/vcs.xml -------------------------------------------------------------------------------- /ns/unnamed-namespace-within-named/A.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ns/unnamed-namespace-within-named/A.cc -------------------------------------------------------------------------------- /ns/unnamed-namespace-within-named/A.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ns/unnamed-namespace-within-named/A.h -------------------------------------------------------------------------------- /ns/unnamed-namespace-within-named/B.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ns/unnamed-namespace-within-named/B.cc -------------------------------------------------------------------------------- /ns/unnamed-namespace-within-named/B.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ns/unnamed-namespace-within-named/B.h -------------------------------------------------------------------------------- /ns/unnamed-namespace-within-named/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ns/unnamed-namespace-within-named/CMakeLists.txt -------------------------------------------------------------------------------- /ns/unnamed-namespace-within-named/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ns/unnamed-namespace-within-named/REFERENCES.md -------------------------------------------------------------------------------- /ns/unnamed-namespace-within-named/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ns/unnamed-namespace-within-named/main.cc -------------------------------------------------------------------------------- /overloading/call-is-ambiguous/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/overloading/call-is-ambiguous/main.cc -------------------------------------------------------------------------------- /overloading/call-is-ambiguous/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/overloading/call-is-ambiguous/run.sh -------------------------------------------------------------------------------- /override/example-1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/example-1/.gitignore -------------------------------------------------------------------------------- /override/example-1/A.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/example-1/A.h -------------------------------------------------------------------------------- /override/example-1/B.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/example-1/B.h -------------------------------------------------------------------------------- /override/example-1/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/example-1/main.cpp -------------------------------------------------------------------------------- /override/example-1/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/example-1/run.sh -------------------------------------------------------------------------------- /override/overrided-method-call/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/overrided-method-call/.gitignore -------------------------------------------------------------------------------- /override/overrided-method-call/A.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/overrided-method-call/A.h -------------------------------------------------------------------------------- /override/overrided-method-call/B.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/overrided-method-call/B.h -------------------------------------------------------------------------------- /override/overrided-method-call/C.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/overrided-method-call/C.h -------------------------------------------------------------------------------- /override/overrided-method-call/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/overrided-method-call/main.cpp -------------------------------------------------------------------------------- /override/overrided-method-call/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/overrided-method-call/run.sh -------------------------------------------------------------------------------- /override/same-super-methods/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/same-super-methods/.gitignore -------------------------------------------------------------------------------- /override/same-super-methods/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/same-super-methods/.idea/.gitignore -------------------------------------------------------------------------------- /override/same-super-methods/.idea/.name: -------------------------------------------------------------------------------- 1 | SameSuperMethods -------------------------------------------------------------------------------- /override/same-super-methods/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/same-super-methods/.idea/misc.xml -------------------------------------------------------------------------------- /override/same-super-methods/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/same-super-methods/.idea/modules.xml -------------------------------------------------------------------------------- /override/same-super-methods/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/same-super-methods/.idea/vcs.xml -------------------------------------------------------------------------------- /override/same-super-methods/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/same-super-methods/CMakeLists.txt -------------------------------------------------------------------------------- /override/same-super-methods/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/same-super-methods/README.md -------------------------------------------------------------------------------- /override/same-super-methods/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/override/same-super-methods/main.cc -------------------------------------------------------------------------------- /performance/loop-time/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/performance/loop-time/.gitignore -------------------------------------------------------------------------------- /performance/loop-time/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/performance/loop-time/.idea/.gitignore -------------------------------------------------------------------------------- /performance/loop-time/.idea/.name: -------------------------------------------------------------------------------- 1 | LoopTime -------------------------------------------------------------------------------- /performance/loop-time/.idea/loop-time.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/performance/loop-time/.idea/loop-time.iml -------------------------------------------------------------------------------- /performance/loop-time/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/performance/loop-time/.idea/misc.xml -------------------------------------------------------------------------------- /performance/loop-time/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/performance/loop-time/.idea/modules.xml -------------------------------------------------------------------------------- /performance/loop-time/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/performance/loop-time/.idea/vcs.xml -------------------------------------------------------------------------------- /performance/loop-time/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/performance/loop-time/CMakeLists.txt -------------------------------------------------------------------------------- /performance/loop-time/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/performance/loop-time/main.cpp -------------------------------------------------------------------------------- /ptr/auto-ref-ptr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/auto-ref-ptr/.gitignore -------------------------------------------------------------------------------- /ptr/auto-ref-ptr/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/auto-ref-ptr/main.cc -------------------------------------------------------------------------------- /ptr/auto-ref-ptr/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/auto-ref-ptr/run.sh -------------------------------------------------------------------------------- /ptr/const-char-str-ptr-delete/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/const-char-str-ptr-delete/.gitignore -------------------------------------------------------------------------------- /ptr/const-char-str-ptr-delete/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/const-char-str-ptr-delete/main.cpp -------------------------------------------------------------------------------- /ptr/const-char-str-ptr-delete/run-clang++.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/const-char-str-ptr-delete/run-clang++.sh -------------------------------------------------------------------------------- /ptr/const-char-str-ptr-delete/run-g++.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/const-char-str-ptr-delete/run-g++.sh -------------------------------------------------------------------------------- /ptr/fn-ptr-using/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/fn-ptr-using/.gitignore -------------------------------------------------------------------------------- /ptr/fn-ptr-using/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/fn-ptr-using/REFERENCES.md -------------------------------------------------------------------------------- /ptr/fn-ptr-using/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/fn-ptr-using/main.cc -------------------------------------------------------------------------------- /ptr/fn-ptr-using/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/fn-ptr-using/run.sh -------------------------------------------------------------------------------- /ptr/pass-ptr-to-func/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/pass-ptr-to-func/.gitignore -------------------------------------------------------------------------------- /ptr/pass-ptr-to-func/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/pass-ptr-to-func/README.md -------------------------------------------------------------------------------- /ptr/pass-ptr-to-func/program.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/pass-ptr-to-func/program.cpp -------------------------------------------------------------------------------- /ptr/pass-ptr-to-func/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/pass-ptr-to-func/run.sh -------------------------------------------------------------------------------- /ptr/shared_ptr-if/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/shared_ptr-if/.gitignore -------------------------------------------------------------------------------- /ptr/shared_ptr-if/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/shared_ptr-if/main.cc -------------------------------------------------------------------------------- /ptr/shared_ptr-if/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ptr/shared_ptr-if/run.sh -------------------------------------------------------------------------------- /ref/assign-ref2ref/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ref/assign-ref2ref/.gitignore -------------------------------------------------------------------------------- /ref/assign-ref2ref/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ref/assign-ref2ref/main.cc -------------------------------------------------------------------------------- /ref/assign-ref2ref/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ref/assign-ref2ref/run.sh -------------------------------------------------------------------------------- /ref/assign-val-to-const-ref/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ref/assign-val-to-const-ref/.gitignore -------------------------------------------------------------------------------- /ref/assign-val-to-const-ref/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ref/assign-val-to-const-ref/REFERENCES.md -------------------------------------------------------------------------------- /ref/assign-val-to-const-ref/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ref/assign-val-to-const-ref/main.cc -------------------------------------------------------------------------------- /ref/assign-val-to-const-ref/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ref/assign-val-to-const-ref/run.sh -------------------------------------------------------------------------------- /ref/ref-dtor-out-of-scope/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ref/ref-dtor-out-of-scope/.gitignore -------------------------------------------------------------------------------- /ref/ref-dtor-out-of-scope/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ref/ref-dtor-out-of-scope/REFERENCES.md -------------------------------------------------------------------------------- /ref/ref-dtor-out-of-scope/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ref/ref-dtor-out-of-scope/main.cpp -------------------------------------------------------------------------------- /ref/ref-dtor-out-of-scope/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/ref/ref-dtor-out-of-scope/run.sh -------------------------------------------------------------------------------- /regex/inc-filename/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/regex/inc-filename/.gitignore -------------------------------------------------------------------------------- /regex/inc-filename/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/regex/inc-filename/REFERENCES.md -------------------------------------------------------------------------------- /regex/inc-filename/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/regex/inc-filename/main.cpp -------------------------------------------------------------------------------- /regex/inc-filename/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/regex/inc-filename/run.sh -------------------------------------------------------------------------------- /regex/regex-repl-word/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/regex/regex-repl-word/.gitignore -------------------------------------------------------------------------------- /regex/regex-repl-word/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/regex/regex-repl-word/CMakeLists.txt -------------------------------------------------------------------------------- /regex/regex-repl-word/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/regex/regex-repl-word/main.cc -------------------------------------------------------------------------------- /rnd/random-device-usage/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/rnd/random-device-usage/.gitignore -------------------------------------------------------------------------------- /rnd/random-device-usage/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/rnd/random-device-usage/.idea/.gitignore -------------------------------------------------------------------------------- /rnd/random-device-usage/.idea/.name: -------------------------------------------------------------------------------- 1 | RandomDevice -------------------------------------------------------------------------------- /rnd/random-device-usage/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/rnd/random-device-usage/.idea/misc.xml -------------------------------------------------------------------------------- /rnd/random-device-usage/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/rnd/random-device-usage/.idea/modules.xml -------------------------------------------------------------------------------- /rnd/random-device-usage/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/rnd/random-device-usage/.idea/vcs.xml -------------------------------------------------------------------------------- /rnd/random-device-usage/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/rnd/random-device-usage/CMakeLists.txt -------------------------------------------------------------------------------- /rnd/random-device-usage/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/rnd/random-device-usage/REFERENCES.md -------------------------------------------------------------------------------- /rnd/random-device-usage/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/rnd/random-device-usage/main.cc -------------------------------------------------------------------------------- /rnd/random-int-in-range/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/rnd/random-int-in-range/.gitignore -------------------------------------------------------------------------------- /rnd/random-int-in-range/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/rnd/random-int-in-range/REFERENCES.md -------------------------------------------------------------------------------- /rnd/random-int-in-range/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/rnd/random-int-in-range/main.cc -------------------------------------------------------------------------------- /rnd/random-int-in-range/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/rnd/random-int-in-range/run.sh -------------------------------------------------------------------------------- /smart-ptr/shared_ptr/cmp-shared-ptr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/shared_ptr/cmp-shared-ptr/.gitignore -------------------------------------------------------------------------------- /smart-ptr/shared_ptr/cmp-shared-ptr/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/shared_ptr/cmp-shared-ptr/main.cc -------------------------------------------------------------------------------- /smart-ptr/shared_ptr/cmp-shared-ptr/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/shared_ptr/cmp-shared-ptr/run.sh -------------------------------------------------------------------------------- /smart-ptr/shared_ptr/null-deleter/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/shared_ptr/null-deleter/.gitignore -------------------------------------------------------------------------------- /smart-ptr/shared_ptr/null-deleter/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/shared_ptr/null-deleter/REFERENCES.md -------------------------------------------------------------------------------- /smart-ptr/shared_ptr/null-deleter/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/shared_ptr/null-deleter/main.cc -------------------------------------------------------------------------------- /smart-ptr/shared_ptr/null-deleter/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/shared_ptr/null-deleter/run.sh -------------------------------------------------------------------------------- /smart-ptr/shared_ptr/shared-from-this/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/shared_ptr/shared-from-this/.gitignore -------------------------------------------------------------------------------- /smart-ptr/shared_ptr/shared-from-this/.idea/.name: -------------------------------------------------------------------------------- 1 | SharedFromThis -------------------------------------------------------------------------------- /smart-ptr/shared_ptr/shared-from-this/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/shared_ptr/shared-from-this/main.cc -------------------------------------------------------------------------------- /smart-ptr/shared_ptr/shared-from-this/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/shared_ptr/shared-from-this/run.sh -------------------------------------------------------------------------------- /smart-ptr/shared_ptr/shared-ptr-casting/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/shared_ptr/shared-ptr-casting/main.cc -------------------------------------------------------------------------------- /smart-ptr/shared_ptr/shared-ptr-casting/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/shared_ptr/shared-ptr-casting/run.sh -------------------------------------------------------------------------------- /smart-ptr/shared_ptr/shared-ptr-reset/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/shared_ptr/shared-ptr-reset/.gitignore -------------------------------------------------------------------------------- /smart-ptr/shared_ptr/shared-ptr-reset/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/shared_ptr/shared-ptr-reset/main.cc -------------------------------------------------------------------------------- /smart-ptr/shared_ptr/shared-ptr-reset/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/shared_ptr/shared-ptr-reset/run.sh -------------------------------------------------------------------------------- /smart-ptr/unique_ptr/unique-ptr-assign/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/unique_ptr/unique-ptr-assign/main.cc -------------------------------------------------------------------------------- /smart-ptr/unique_ptr/unique-ptr-assign/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/unique_ptr/unique-ptr-assign/run.sh -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/cast-weak-ptr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/weak_ptr/cast-weak-ptr/.gitignore -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/cast-weak-ptr/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/weak_ptr/cast-weak-ptr/main.cc -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/cast-weak-ptr/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/weak_ptr/cast-weak-ptr/run.sh -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/lock-weak-ptr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/weak_ptr/lock-weak-ptr/.gitignore -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/lock-weak-ptr/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/weak_ptr/lock-weak-ptr/main.cc -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/lock-weak-ptr/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/weak_ptr/lock-weak-ptr/run.sh -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/new-weak-ptr-expired/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/weak_ptr/new-weak-ptr-expired/main.cc -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/new-weak-ptr-expired/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/weak_ptr/new-weak-ptr-expired/run.sh -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/weak-from-this/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/weak_ptr/weak-from-this/.gitignore -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/weak-from-this/.idea/.name: -------------------------------------------------------------------------------- 1 | WeakPtrFromThis -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/weak-from-this/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/weak_ptr/weak-from-this/.idea/misc.xml -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/weak-from-this/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/weak_ptr/weak-from-this/CMakeLists.txt -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/weak-from-this/IShape.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/weak_ptr/weak-from-this/IShape.h -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/weak-from-this/Rectangle.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/weak_ptr/weak-from-this/Rectangle.cc -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/weak-from-this/Rectangle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/weak_ptr/weak-from-this/Rectangle.h -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/weak-from-this/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/weak_ptr/weak-from-this/main.cc -------------------------------------------------------------------------------- /smart-ptr/weak_ptr/weak-from-this/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/smart-ptr/weak_ptr/weak-from-this/run.sh -------------------------------------------------------------------------------- /static/static-var-in-local-scope/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/static/static-var-in-local-scope/main.cc -------------------------------------------------------------------------------- /static/static-var-in-local-scope/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/static/static-var-in-local-scope/run.sh -------------------------------------------------------------------------------- /std/collections/list/cmp-list-of-pairs/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/list/cmp-list-of-pairs/main.cc -------------------------------------------------------------------------------- /std/collections/list/cmp-list-of-pairs/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/list/cmp-list-of-pairs/run.sh -------------------------------------------------------------------------------- /std/collections/map/change-map-item-value/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/change-map-item-value/run.sh -------------------------------------------------------------------------------- /std/collections/map/get-val-in-map-by-ref/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/get-val-in-map-by-ref/run.sh -------------------------------------------------------------------------------- /std/collections/map/map-erase/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-erase/.gitignore -------------------------------------------------------------------------------- /std/collections/map/map-erase/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-erase/.idea/.gitignore -------------------------------------------------------------------------------- /std/collections/map/map-erase/.idea/.name: -------------------------------------------------------------------------------- 1 | MapErase -------------------------------------------------------------------------------- /std/collections/map/map-erase/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-erase/.idea/misc.xml -------------------------------------------------------------------------------- /std/collections/map/map-erase/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-erase/.idea/modules.xml -------------------------------------------------------------------------------- /std/collections/map/map-erase/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-erase/.idea/vcs.xml -------------------------------------------------------------------------------- /std/collections/map/map-erase/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-erase/CMakeLists.txt -------------------------------------------------------------------------------- /std/collections/map/map-erase/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-erase/main.cpp -------------------------------------------------------------------------------- /std/collections/map/map-insert/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-insert/.gitignore -------------------------------------------------------------------------------- /std/collections/map/map-insert/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-insert/main.cc -------------------------------------------------------------------------------- /std/collections/map/map-insert/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-insert/run.sh -------------------------------------------------------------------------------- /std/collections/map/map-int-str/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-int-str/.gitignore -------------------------------------------------------------------------------- /std/collections/map/map-int-str/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-int-str/main.cc -------------------------------------------------------------------------------- /std/collections/map/map-int-str/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-int-str/run.sh -------------------------------------------------------------------------------- /std/collections/map/map-of-maps/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-of-maps/.gitignore -------------------------------------------------------------------------------- /std/collections/map/map-of-maps/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-of-maps/REFERENCES.md -------------------------------------------------------------------------------- /std/collections/map/map-of-maps/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-of-maps/main.cc -------------------------------------------------------------------------------- /std/collections/map/map-of-maps/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-of-maps/run.sh -------------------------------------------------------------------------------- /std/collections/map/map-val-by-ref/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-val-by-ref/.gitignore -------------------------------------------------------------------------------- /std/collections/map/map-val-by-ref/REFERENCE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-val-by-ref/REFERENCE.md -------------------------------------------------------------------------------- /std/collections/map/map-val-by-ref/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-val-by-ref/main.cc -------------------------------------------------------------------------------- /std/collections/map/map-val-by-ref/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/map-val-by-ref/run.sh -------------------------------------------------------------------------------- /std/collections/map/pair-as-key/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/pair-as-key/Makefile -------------------------------------------------------------------------------- /std/collections/map/pair-as-key/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/pair-as-key/REFERENCES.md -------------------------------------------------------------------------------- /std/collections/map/pair-as-key/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/pair-as-key/main.cc -------------------------------------------------------------------------------- /std/collections/map/ptr-as-key-in-map/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/ptr-as-key-in-map/.gitignore -------------------------------------------------------------------------------- /std/collections/map/ptr-as-key-in-map/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/ptr-as-key-in-map/main.cc -------------------------------------------------------------------------------- /std/collections/map/ptr-as-key-in-map/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/ptr-as-key-in-map/run.sh -------------------------------------------------------------------------------- /std/collections/map/smart-ptr-as-key/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/smart-ptr-as-key/.gitignore -------------------------------------------------------------------------------- /std/collections/map/smart-ptr-as-key/.idea/.name: -------------------------------------------------------------------------------- 1 | SmartPtrAsKey -------------------------------------------------------------------------------- /std/collections/map/smart-ptr-as-key/Key.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/smart-ptr-as-key/Key.cpp -------------------------------------------------------------------------------- /std/collections/map/smart-ptr-as-key/Key.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/smart-ptr-as-key/Key.h -------------------------------------------------------------------------------- /std/collections/map/smart-ptr-as-key/KeyFwd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/smart-ptr-as-key/KeyFwd.h -------------------------------------------------------------------------------- /std/collections/map/smart-ptr-as-key/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/smart-ptr-as-key/README.md -------------------------------------------------------------------------------- /std/collections/map/smart-ptr-as-key/fn.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/smart-ptr-as-key/fn.cpp -------------------------------------------------------------------------------- /std/collections/map/smart-ptr-as-key/fn.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/smart-ptr-as-key/fn.h -------------------------------------------------------------------------------- /std/collections/map/smart-ptr-as-key/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/smart-ptr-as-key/main.cpp -------------------------------------------------------------------------------- /std/collections/map/unordered-map-el-dtor/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/map/unordered-map-el-dtor/run.sh -------------------------------------------------------------------------------- /std/collections/queue/emplace-in-queue-of-pair/.idea/.name: -------------------------------------------------------------------------------- 1 | EmplaceInQueueOfPair -------------------------------------------------------------------------------- /std/collections/vector/ins-el-into-vec/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/vector/ins-el-into-vec/main.cc -------------------------------------------------------------------------------- /std/collections/vector/ins-el-into-vec/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/vector/ins-el-into-vec/run.sh -------------------------------------------------------------------------------- /std/collections/vector/std-vector-distance/.idea/.name: -------------------------------------------------------------------------------- 1 | Distance -------------------------------------------------------------------------------- /std/collections/vector/std-vector-erase/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/vector/std-vector-erase/Makefile -------------------------------------------------------------------------------- /std/collections/vector/std-vector-erase/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/vector/std-vector-erase/main.cc -------------------------------------------------------------------------------- /std/collections/vector/vector-insert/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/vector/vector-insert/.gitignore -------------------------------------------------------------------------------- /std/collections/vector/vector-insert/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/vector/vector-insert/main.cc -------------------------------------------------------------------------------- /std/collections/vector/vector-insert/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/collections/vector/vector-insert/run.sh -------------------------------------------------------------------------------- /std/containers/any/property-container/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/containers/any/property-container/.gitignore -------------------------------------------------------------------------------- /std/containers/any/property-container/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/containers/any/property-container/main.cpp -------------------------------------------------------------------------------- /std/containers/any/property-container/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/containers/any/property-container/run.sh -------------------------------------------------------------------------------- /std/containers/any/std-any-as-param/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/containers/any/std-any-as-param/.gitignore -------------------------------------------------------------------------------- /std/containers/any/std-any-as-param/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/containers/any/std-any-as-param/main.cc -------------------------------------------------------------------------------- /std/containers/any/std-any-as-param/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/containers/any/std-any-as-param/run.sh -------------------------------------------------------------------------------- /std/containers/set/advance-on-set/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/containers/set/advance-on-set/.gitignore -------------------------------------------------------------------------------- /std/containers/set/advance-on-set/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/containers/set/advance-on-set/main.cc -------------------------------------------------------------------------------- /std/containers/set/advance-on-set/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/containers/set/advance-on-set/run.sh -------------------------------------------------------------------------------- /std/containers/set/set-with-cmp-el/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/containers/set/set-with-cmp-el/.gitignore -------------------------------------------------------------------------------- /std/containers/set/set-with-cmp-el/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/containers/set/set-with-cmp-el/main.cc -------------------------------------------------------------------------------- /std/containers/set/set-with-cmp-el/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/containers/set/set-with-cmp-el/run.sh -------------------------------------------------------------------------------- /std/containers/tuple/tuple-of-static-methods/.idea/.name: -------------------------------------------------------------------------------- 1 | TupleOfMethods -------------------------------------------------------------------------------- /std/std-clamp/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/std-clamp/main.cc -------------------------------------------------------------------------------- /std/std-clamp/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/std-clamp/run.sh -------------------------------------------------------------------------------- /std/std-function/std-function-empty/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/std-function/std-function-empty/.gitignore -------------------------------------------------------------------------------- /std/std-function/std-function-empty/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/std/std-function/std-function-empty/main.cpp -------------------------------------------------------------------------------- /str/assign-char-arr-to-string/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/str/assign-char-arr-to-string/.gitignore -------------------------------------------------------------------------------- /str/assign-char-arr-to-string/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/str/assign-char-arr-to-string/main.cc -------------------------------------------------------------------------------- /str/assign-char-arr-to-string/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/str/assign-char-arr-to-string/run.sh -------------------------------------------------------------------------------- /str/cmp-std-str-with-char-arr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/str/cmp-std-str-with-char-arr/.gitignore -------------------------------------------------------------------------------- /str/cmp-std-str-with-char-arr/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/str/cmp-std-str-with-char-arr/main.cc -------------------------------------------------------------------------------- /str/cmp-std-str-with-char-arr/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/str/cmp-std-str-with-char-arr/run.sh -------------------------------------------------------------------------------- /str/wstring_convert/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/str/wstring_convert/REFERENCES.md -------------------------------------------------------------------------------- /str/wstring_convert/varcholik/328-329.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/str/wstring_convert/varcholik/328-329.png -------------------------------------------------------------------------------- /str/wstring_convert/varcholik/329.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/str/wstring_convert/varcholik/329.png -------------------------------------------------------------------------------- /str/wstring_convert/varcholik/330.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/str/wstring_convert/varcholik/330.png -------------------------------------------------------------------------------- /str/wstring_convert/varcholik/331.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/str/wstring_convert/varcholik/331.png -------------------------------------------------------------------------------- /str/wstring_convert/varcholik/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/str/wstring_convert/varcholik/README.md -------------------------------------------------------------------------------- /str/wstring_convert/varcholik/Utility.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/str/wstring_convert/varcholik/Utility.cpp -------------------------------------------------------------------------------- /str/wstring_convert/varcholik/Utility.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/str/wstring_convert/varcholik/Utility.h -------------------------------------------------------------------------------- /stream/custom-stream-buffer/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/stream/custom-stream-buffer/.gitignore -------------------------------------------------------------------------------- /stream/custom-stream-buffer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/stream/custom-stream-buffer/README.md -------------------------------------------------------------------------------- /stream/custom-stream-buffer/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/stream/custom-stream-buffer/REFERENCES.md -------------------------------------------------------------------------------- /stream/custom-stream-buffer/inbuf_pointers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/stream/custom-stream-buffer/inbuf_pointers.png -------------------------------------------------------------------------------- /stream/custom-stream-buffer/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/stream/custom-stream-buffer/main.cc -------------------------------------------------------------------------------- /stream/custom-stream-buffer/outbuf_pointers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/stream/custom-stream-buffer/outbuf_pointers.png -------------------------------------------------------------------------------- /stream/custom-stream-buffer/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/stream/custom-stream-buffer/run.sh -------------------------------------------------------------------------------- /stream/streams/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/stream/streams/.gitignore -------------------------------------------------------------------------------- /stream/streams/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/stream/streams/REFERENCES.md -------------------------------------------------------------------------------- /stream/streams/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/stream/streams/main.cc -------------------------------------------------------------------------------- /stream/streams/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/stream/streams/run.sh -------------------------------------------------------------------------------- /syncfusion/cpp_succinctly/CastingSample/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/syncfusion/cpp_succinctly/CastingSample/run.sh -------------------------------------------------------------------------------- /syncfusion/cpp_succinctly/EnumSample/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/syncfusion/cpp_succinctly/EnumSample/.gitignore -------------------------------------------------------------------------------- /syncfusion/cpp_succinctly/LambdaSample/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/syncfusion/cpp_succinctly/LambdaSample/run.sh -------------------------------------------------------------------------------- /syncfusion/cpp_succinctly/PimplSample/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/syncfusion/cpp_succinctly/PimplSample/.gitignore -------------------------------------------------------------------------------- /syncfusion/cpp_succinctly/PimplSample/Sandwich.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/syncfusion/cpp_succinctly/PimplSample/Sandwich.h -------------------------------------------------------------------------------- /syncfusion/cpp_succinctly/PimplSample/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/syncfusion/cpp_succinctly/PimplSample/run.sh -------------------------------------------------------------------------------- /syncfusion/cpp_succinctly/PointerSample/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/syncfusion/cpp_succinctly/PointerSample/run.sh -------------------------------------------------------------------------------- /syncfusion/cpp_succinctly/SharedPtrSample/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/syncfusion/cpp_succinctly/SharedPtrSample/run.sh -------------------------------------------------------------------------------- /syncfusion/cpp_succinctly/TemplatesSample/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/syncfusion/cpp_succinctly/TemplatesSample/run.sh -------------------------------------------------------------------------------- /syncfusion/cpp_succinctly/UnionSample/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/syncfusion/cpp_succinctly/UnionSample/.gitignore -------------------------------------------------------------------------------- /syncfusion/cpp_succinctly/pchar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/syncfusion/cpp_succinctly/pchar.h -------------------------------------------------------------------------------- /tpl/fn-tpl-explicit-instantiation/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/fn-tpl-explicit-instantiation/.gitignore -------------------------------------------------------------------------------- /tpl/fn-tpl-explicit-instantiation/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/fn-tpl-explicit-instantiation/REFERENCES.md -------------------------------------------------------------------------------- /tpl/fn-tpl-explicit-instantiation/eq_number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/fn-tpl-explicit-instantiation/eq_number.cpp -------------------------------------------------------------------------------- /tpl/fn-tpl-explicit-instantiation/eq_number.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/fn-tpl-explicit-instantiation/eq_number.h -------------------------------------------------------------------------------- /tpl/fn-tpl-explicit-instantiation/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/fn-tpl-explicit-instantiation/main.cpp -------------------------------------------------------------------------------- /tpl/fn-tpl-explicit-instantiation/print_number.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/fn-tpl-explicit-instantiation/print_number.h -------------------------------------------------------------------------------- /tpl/fn-tpl-explicit-instantiation/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/fn-tpl-explicit-instantiation/run.sh -------------------------------------------------------------------------------- /tpl/fold/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/fold/.gitignore -------------------------------------------------------------------------------- /tpl/fold/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/fold/README.md -------------------------------------------------------------------------------- /tpl/fold/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/fold/REFERENCES.md -------------------------------------------------------------------------------- /tpl/fold/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/fold/main.cc -------------------------------------------------------------------------------- /tpl/fold/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/fold/run.sh -------------------------------------------------------------------------------- /tpl/intro-to-traits/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/intro-to-traits/.gitignore -------------------------------------------------------------------------------- /tpl/intro-to-traits/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/intro-to-traits/README.md -------------------------------------------------------------------------------- /tpl/intro-to-traits/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/intro-to-traits/REFERENCES.md -------------------------------------------------------------------------------- /tpl/intro-to-traits/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/intro-to-traits/main.cc -------------------------------------------------------------------------------- /tpl/intro-to-traits/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/intro-to-traits/run.sh -------------------------------------------------------------------------------- /tpl/lambda-overloading/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/lambda-overloading/.gitignore -------------------------------------------------------------------------------- /tpl/lambda-overloading/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/lambda-overloading/.idea/.gitignore -------------------------------------------------------------------------------- /tpl/lambda-overloading/.idea/.name: -------------------------------------------------------------------------------- 1 | LambdaOverloading -------------------------------------------------------------------------------- /tpl/lambda-overloading/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/lambda-overloading/.idea/misc.xml -------------------------------------------------------------------------------- /tpl/lambda-overloading/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/lambda-overloading/.idea/modules.xml -------------------------------------------------------------------------------- /tpl/lambda-overloading/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/lambda-overloading/.idea/vcs.xml -------------------------------------------------------------------------------- /tpl/lambda-overloading/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/lambda-overloading/CMakeLists.txt -------------------------------------------------------------------------------- /tpl/lambda-overloading/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/lambda-overloading/REFERENCES.md -------------------------------------------------------------------------------- /tpl/lambda-overloading/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/lambda-overloading/main.cpp -------------------------------------------------------------------------------- /tpl/pass-fn-to-tpl/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/pass-fn-to-tpl/.gitignore -------------------------------------------------------------------------------- /tpl/pass-fn-to-tpl/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/pass-fn-to-tpl/REFERENCES.md -------------------------------------------------------------------------------- /tpl/pass-fn-to-tpl/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/pass-fn-to-tpl/main.cc -------------------------------------------------------------------------------- /tpl/pass-fn-to-tpl/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/pass-fn-to-tpl/run.sh -------------------------------------------------------------------------------- /tpl/pass-tpl-fn-as-param/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/pass-tpl-fn-as-param/.gitignore -------------------------------------------------------------------------------- /tpl/pass-tpl-fn-as-param/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/pass-tpl-fn-as-param/REFERENCES.md -------------------------------------------------------------------------------- /tpl/pass-tpl-fn-as-param/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/pass-tpl-fn-as-param/main.cc -------------------------------------------------------------------------------- /tpl/pass-tpl-fn-as-param/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/pass-tpl-fn-as-param/run.sh -------------------------------------------------------------------------------- /tpl/stat-fn-as-tpl-param/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/stat-fn-as-tpl-param/.gitignore -------------------------------------------------------------------------------- /tpl/stat-fn-as-tpl-param/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/stat-fn-as-tpl-param/main.cc -------------------------------------------------------------------------------- /tpl/stat-fn-as-tpl-param/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/stat-fn-as-tpl-param/run.sh -------------------------------------------------------------------------------- /tpl/tpl-and-override/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-and-override/.gitignore -------------------------------------------------------------------------------- /tpl/tpl-and-override/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-and-override/.idea/.gitignore -------------------------------------------------------------------------------- /tpl/tpl-and-override/.idea/.name: -------------------------------------------------------------------------------- 1 | TemplatesAndOverride -------------------------------------------------------------------------------- /tpl/tpl-and-override/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-and-override/.idea/misc.xml -------------------------------------------------------------------------------- /tpl/tpl-and-override/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-and-override/.idea/modules.xml -------------------------------------------------------------------------------- /tpl/tpl-and-override/.idea/tpl-and-override.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-and-override/.idea/tpl-and-override.iml -------------------------------------------------------------------------------- /tpl/tpl-and-override/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-and-override/.idea/vcs.xml -------------------------------------------------------------------------------- /tpl/tpl-and-override/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-and-override/CMakeLists.txt -------------------------------------------------------------------------------- /tpl/tpl-and-override/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-and-override/main.cpp -------------------------------------------------------------------------------- /tpl/tpl-class-separate-def/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-class-separate-def/.gitignore -------------------------------------------------------------------------------- /tpl/tpl-class-separate-def/MyClass.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-class-separate-def/MyClass.cpp -------------------------------------------------------------------------------- /tpl/tpl-class-separate-def/MyClass.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-class-separate-def/MyClass.hpp -------------------------------------------------------------------------------- /tpl/tpl-class-separate-def/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-class-separate-def/REFERENCES.md -------------------------------------------------------------------------------- /tpl/tpl-class-separate-def/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-class-separate-def/main.cpp -------------------------------------------------------------------------------- /tpl/tpl-class-separate-def/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-class-separate-def/run.sh -------------------------------------------------------------------------------- /tpl/tpl-fn-return/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-fn-return/.gitignore -------------------------------------------------------------------------------- /tpl/tpl-fn-return/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-fn-return/main.cc -------------------------------------------------------------------------------- /tpl/tpl-fn-return/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-fn-return/run.sh -------------------------------------------------------------------------------- /tpl/tpl-method-spec/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-method-spec/.gitignore -------------------------------------------------------------------------------- /tpl/tpl-method-spec/IPrimitiveStorage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-method-spec/IPrimitiveStorage.h -------------------------------------------------------------------------------- /tpl/tpl-method-spec/TPrimitiveStorage.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-method-spec/TPrimitiveStorage.cc -------------------------------------------------------------------------------- /tpl/tpl-method-spec/TPrimitiveStorage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-method-spec/TPrimitiveStorage.h -------------------------------------------------------------------------------- /tpl/tpl-method-spec/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-method-spec/main.cc -------------------------------------------------------------------------------- /tpl/tpl-method-spec/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-method-spec/run.sh -------------------------------------------------------------------------------- /tpl/tpl-method-specialization-cpp/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-method-specialization-cpp/.gitignore -------------------------------------------------------------------------------- /tpl/tpl-method-specialization-cpp/.idea/.name: -------------------------------------------------------------------------------- 1 | TPLMethodSpecializationCPP -------------------------------------------------------------------------------- /tpl/tpl-method-specialization-cpp/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-method-specialization-cpp/.idea/misc.xml -------------------------------------------------------------------------------- /tpl/tpl-method-specialization-cpp/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-method-specialization-cpp/.idea/vcs.xml -------------------------------------------------------------------------------- /tpl/tpl-method-specialization-cpp/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-method-specialization-cpp/CMakeLists.txt -------------------------------------------------------------------------------- /tpl/tpl-method-specialization-cpp/StringUtils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-method-specialization-cpp/StringUtils.h -------------------------------------------------------------------------------- /tpl/tpl-method-specialization-cpp/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-method-specialization-cpp/main.cpp -------------------------------------------------------------------------------- /tpl/tpl-proxy/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-proxy/.gitignore -------------------------------------------------------------------------------- /tpl/tpl-proxy/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-proxy/.idea/.gitignore -------------------------------------------------------------------------------- /tpl/tpl-proxy/.idea/.name: -------------------------------------------------------------------------------- 1 | TplProxy -------------------------------------------------------------------------------- /tpl/tpl-proxy/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-proxy/.idea/misc.xml -------------------------------------------------------------------------------- /tpl/tpl-proxy/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-proxy/CMakeLists.txt -------------------------------------------------------------------------------- /tpl/tpl-proxy/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-proxy/REFERENCES.md -------------------------------------------------------------------------------- /tpl/tpl-proxy/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-proxy/main.cc -------------------------------------------------------------------------------- /tpl/tpl-proxy/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-proxy/run.sh -------------------------------------------------------------------------------- /tpl/tpl-struct-property-getter/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-struct-property-getter/.gitignore -------------------------------------------------------------------------------- /tpl/tpl-struct-property-getter/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-struct-property-getter/REFERENCES.md -------------------------------------------------------------------------------- /tpl/tpl-struct-property-getter/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-struct-property-getter/main.cc -------------------------------------------------------------------------------- /tpl/tpl-struct-property-getter/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-struct-property-getter/run.sh -------------------------------------------------------------------------------- /tpl/tpl-with-arr-getter/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-with-arr-getter/.gitignore -------------------------------------------------------------------------------- /tpl/tpl-with-arr-getter/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-with-arr-getter/main.cc -------------------------------------------------------------------------------- /tpl/tpl-with-arr-getter/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/tpl-with-arr-getter/run.sh -------------------------------------------------------------------------------- /tpl/type-traits-is-pointer/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/type-traits-is-pointer/.gitignore -------------------------------------------------------------------------------- /tpl/type-traits-is-pointer/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/type-traits-is-pointer/main.cc -------------------------------------------------------------------------------- /tpl/type-traits-is-pointer/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/type-traits-is-pointer/run.sh -------------------------------------------------------------------------------- /tpl/var-tpl-and-fold-expr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/var-tpl-and-fold-expr/.gitignore -------------------------------------------------------------------------------- /tpl/var-tpl-and-fold-expr/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/var-tpl-and-fold-expr/REFERENCES.md -------------------------------------------------------------------------------- /tpl/var-tpl-and-fold-expr/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/var-tpl-and-fold-expr/main.cc -------------------------------------------------------------------------------- /tpl/var-tpl-and-fold-expr/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/var-tpl-and-fold-expr/run.sh -------------------------------------------------------------------------------- /tpl/var-tpl-lambda/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/var-tpl-lambda/.gitignore -------------------------------------------------------------------------------- /tpl/var-tpl-lambda/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/var-tpl-lambda/main.cc -------------------------------------------------------------------------------- /tpl/var-tpl-lambda/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/var-tpl-lambda/run.sh -------------------------------------------------------------------------------- /tpl/variadic-tpl/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/variadic-tpl/.gitignore -------------------------------------------------------------------------------- /tpl/variadic-tpl/Console.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/variadic-tpl/Console.h -------------------------------------------------------------------------------- /tpl/variadic-tpl/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/variadic-tpl/REFERENCES.md -------------------------------------------------------------------------------- /tpl/variadic-tpl/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/variadic-tpl/main.cpp -------------------------------------------------------------------------------- /tpl/variadic-tpl/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/variadic-tpl/run.sh -------------------------------------------------------------------------------- /tpl/virtual-with-tpl/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/virtual-with-tpl/.gitignore -------------------------------------------------------------------------------- /tpl/virtual-with-tpl/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/virtual-with-tpl/main.cc -------------------------------------------------------------------------------- /tpl/virtual-with-tpl/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/tpl/virtual-with-tpl/run.sh -------------------------------------------------------------------------------- /type-erasure/rpg-game/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/.gitignore -------------------------------------------------------------------------------- /type-erasure/rpg-game/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /type-erasure/rpg-game/.idea/.name: -------------------------------------------------------------------------------- 1 | RPG_game -------------------------------------------------------------------------------- /type-erasure/rpg-game/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/.idea/misc.xml -------------------------------------------------------------------------------- /type-erasure/rpg-game/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/.idea/modules.xml -------------------------------------------------------------------------------- /type-erasure/rpg-game/.idea/rpg-game.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/.idea/rpg-game.iml -------------------------------------------------------------------------------- /type-erasure/rpg-game/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/.idea/vcs.xml -------------------------------------------------------------------------------- /type-erasure/rpg-game/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/CMakeLists.txt -------------------------------------------------------------------------------- /type-erasure/rpg-game/Object.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/Object.cc -------------------------------------------------------------------------------- /type-erasure/rpg-game/Object.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/Object.h -------------------------------------------------------------------------------- /type-erasure/rpg-game/ObjectConcept.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/ObjectConcept.h -------------------------------------------------------------------------------- /type-erasure/rpg-game/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/REFERENCES.md -------------------------------------------------------------------------------- /type-erasure/rpg-game/items/Armor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/items/Armor.h -------------------------------------------------------------------------------- /type-erasure/rpg-game/items/FireScroll.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/items/FireScroll.h -------------------------------------------------------------------------------- /type-erasure/rpg-game/items/Helmet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/items/Helmet.h -------------------------------------------------------------------------------- /type-erasure/rpg-game/items/PoisonPotion.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/items/PoisonPotion.h -------------------------------------------------------------------------------- /type-erasure/rpg-game/items/Potion.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/items/Potion.h -------------------------------------------------------------------------------- /type-erasure/rpg-game/items/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/items/README.md -------------------------------------------------------------------------------- /type-erasure/rpg-game/items/Scroll.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/items/Scroll.h -------------------------------------------------------------------------------- /type-erasure/rpg-game/items/Weapon.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/items/Weapon.h -------------------------------------------------------------------------------- /type-erasure/rpg-game/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type-erasure/rpg-game/main.cc -------------------------------------------------------------------------------- /type/fwd-dec/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type/fwd-dec/.gitignore -------------------------------------------------------------------------------- /type/fwd-dec/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type/fwd-dec/.idea/.gitignore -------------------------------------------------------------------------------- /type/fwd-dec/.idea/.name: -------------------------------------------------------------------------------- 1 | ForwardDeclare -------------------------------------------------------------------------------- /type/fwd-dec/.idea/fwd-dec.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type/fwd-dec/.idea/fwd-dec.iml -------------------------------------------------------------------------------- /type/fwd-dec/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type/fwd-dec/.idea/misc.xml -------------------------------------------------------------------------------- /type/fwd-dec/.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type/fwd-dec/.idea/modules.xml -------------------------------------------------------------------------------- /type/fwd-dec/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type/fwd-dec/CMakeLists.txt -------------------------------------------------------------------------------- /type/fwd-dec/First.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type/fwd-dec/First.cpp -------------------------------------------------------------------------------- /type/fwd-dec/First.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type/fwd-dec/First.hpp -------------------------------------------------------------------------------- /type/fwd-dec/Fourth.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Abbas Gussenov on 1/30/21. 3 | // 4 | 5 | #include "Fourth.hpp" 6 | -------------------------------------------------------------------------------- /type/fwd-dec/Fourth.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type/fwd-dec/Fourth.hpp -------------------------------------------------------------------------------- /type/fwd-dec/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type/fwd-dec/README.md -------------------------------------------------------------------------------- /type/fwd-dec/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type/fwd-dec/REFERENCES.md -------------------------------------------------------------------------------- /type/fwd-dec/Second.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type/fwd-dec/Second.cpp -------------------------------------------------------------------------------- /type/fwd-dec/Second.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type/fwd-dec/Second.hpp -------------------------------------------------------------------------------- /type/fwd-dec/Third.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type/fwd-dec/Third.cpp -------------------------------------------------------------------------------- /type/fwd-dec/Third.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type/fwd-dec/Third.hpp -------------------------------------------------------------------------------- /type/fwd-dec/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/type/fwd-dec/main.cpp -------------------------------------------------------------------------------- /union/pass-union-to-function/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/union/pass-union-to-function/.gitignore -------------------------------------------------------------------------------- /union/pass-union-to-function/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/union/pass-union-to-function/REFERENCES.md -------------------------------------------------------------------------------- /union/pass-union-to-function/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/union/pass-union-to-function/main.cpp -------------------------------------------------------------------------------- /union/pass-union-to-function/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/union/pass-union-to-function/run.sh -------------------------------------------------------------------------------- /union/union-and-stream-insertion-operator/.idea/.name: -------------------------------------------------------------------------------- 1 | UnionAndStreamInsertionOperator -------------------------------------------------------------------------------- /union/union-of-ptr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/union/union-of-ptr/.gitignore -------------------------------------------------------------------------------- /union/union-of-ptr/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/union/union-of-ptr/main.cc -------------------------------------------------------------------------------- /union/union-of-ptr/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/union/union-of-ptr/run.sh -------------------------------------------------------------------------------- /virtual/virtual-method-default-parameter/.idea/.name: -------------------------------------------------------------------------------- 1 | VirtualMethodDefaultParameter -------------------------------------------------------------------------------- /virtual/virtual-variadic-method/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/virtual/virtual-variadic-method/.gitignore -------------------------------------------------------------------------------- /virtual/virtual-variadic-method/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/virtual/virtual-variadic-method/REFERENCES.md -------------------------------------------------------------------------------- /virtual/virtual-variadic-method/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/virtual/virtual-variadic-method/main.cc -------------------------------------------------------------------------------- /virtual/virtual-variadic-method/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/virtual/virtual-variadic-method/run.sh -------------------------------------------------------------------------------- /way-to-declare-an-interface/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /way-to-declare-an-interface/REFERENCES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/REFERENCES.md -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-1/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-1/.gitignore -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-1/Testable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-1/Testable.h -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-1/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-1/main.cpp -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-1/program.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-1/program.sh -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-2/.gitignore -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-2/Testable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-2/Testable.h -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-2/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-2/main.cpp -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-2/program.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-2/program.sh -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-3/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-3/.gitignore -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-3/Testable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-3/Testable.h -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-3/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-3/main.cpp -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-3/program.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-3/program.sh -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-4/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-4/.gitignore -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-4/Testable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-4/Testable.h -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-4/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-4/main.cpp -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-4/program.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-4/program.sh -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-5/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-5/.gitignore -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-5/Testable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-5/Testable.h -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-5/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-5/main.cpp -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-5/program.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-5/program.sh -------------------------------------------------------------------------------- /way-to-declare-an-interface/example-6/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gusenov/examples-cpp/HEAD/way-to-declare-an-interface/example-6/README.md --------------------------------------------------------------------------------