Inheritance and Virtual Table are often used to create interface in C++ polymorphic class
What if ... there were another way to do this ?
easier, cleaner, faster and more reliable
This article explains how to useCRTP
, [std::variant
](https://en.cppreference.com/w/cpp/utility/variant andstd::visit
to increase code performance.
CMake๋ฅผ ์ ์ฐ๋๊ฑฐ์ฃ ?
์ข์ ํด์ Visual Studio ๋ฟ์ ๋๋ค. ๊ทธ ์ด์ธ์๋ ์ ๋ถ ์ฌ๋(้ช้)์ ๋๋ค ์ฌ๋! - ์์ฑ์
- ์ด ๋ฌธ์๋ CMake๋ฅผ ์ฃผ๊ด์ ์ผ๋ก ์์ ํฉ๋๋ค
- ์ด ๋ฌธ์๋ฅผ ํตํด CMake๋ฅผ ์์ํ๊ธฐ์ ์ ํฉํ์ง ์์ต๋๋ค
https://cgold.readthedocs.io/en/latest/ 3.1 ์ฑํฐ๊น์ง ๋ฐ๋ผํด๋ณธ ์ดํ ๊ธฐ๋ณธ์ฌํญ๋ค์ ์์ฑ์ผ๋ก ์ตํ๋ ๊ฒ์ ๋๊ธฐ์ํ ๋ณด์กฐ์๋ฃ๋ก์จ ์์ฑ๋์์ต๋๋ค