So for a university project I'm thinking of writing a c++ parser for analytical purposes.
Now, there are open-source parsers that can do this (clang and g++'s parser, but only the former can probably be used easily), but since this is a parsing-themed project I can't use that.
I asked around for a bit and someone said that the hardest thing about parsing c++ is NOT the #define, #ifdefs and templates, but something else. I hadn't got an answer back on what it was, but what do people think the hardest part of parsing c++ is?