cppminiprojects.hashnode.devExtending C++ using LLVMIntroduction LLVM is an open-source, modular compiler infrastructure, and Clang is its C++ front-end. In this project, I use LLVM to build a custom Clang compiler that introduces a new C++ builtin -counting the number of fields in a C++ struct / clas...Jan 26·4 min read
cppminiprojects.hashnode.devCompile-Time Listhttps://github.com/ayushbansal07/Cpp-miniprojects/tree/main/001_compiletimelist Introduction Imagine you have a usecase where you’d like to do some operation on list of some objects that follow a similar interface. For example, you have a list of che...Jan 13, 2025·5 min read