ACashwith chandrainsigsegv.hashnode.dev·May 3 · 7 min readBuilding a type-safe Parser Combinator Library in Modern C++What are Parser Combinators?? Instead of building one large monolithic parser like a recursive descent parser, parser combinators let you construct complex parsers by composing small, reusable functio00
ACashwith chandrainsigsegv.hashnode.dev·Apr 28 · 3 min readThe hidden detail behind std::addressof in C++In c++, even something like &obj is not always what it seems. Normally, when we write: struct Resource { int data = 42; }; int main() { Resource r; auto h = &r; std::cout << h << '\n'00