concept1 [C++20 - 4th Emperor] Chapter 01. Concept GitHub : https://github.com/developeSHG/CPP20-4th_Emperor/commit/978ee4946379c5c446ef2d1fb9e7f8354ec1e671 Concept · developeSHG/CPP20-4th_Emperor@978ee49 developeSHG committed Jul 24, 2023 github.com // static void TestObject(T obj) where T : GameObject C#에는 제네릭 문법(C++의 템플릿과 유사)을 통해 타입을 동적으로 생성하면서 where를 통해 타입에 대해 부가적인 조건을 걸어 (어떤 클래스에 파생된다든지) 원하는 타입을 생성할 수 있었다. using System; namespace CSharp { c.. 2023. 7. 24. 이전 1 다음