cpp parser: not parsing function type that returns const
Closed this issue · 3 comments
petr-bauch commented
Hey team, your project is amazing. I noticed that the following c++ code:
static_assert(std::is_same_v<A, const int&(int)>);
does not parse, but this one does:
static_assert(std::is_same_v<A, int&(int)>);
codinuum commented
Thank you for reporting!
We will look into it.
codinuum commented
We have just fixed the parser in the develop branch.
Could you try it?
petr-bauch commented
Wow. Thank you so much for such a quick fix. Works as expected.