codinuum/cca

cpp parser: not parsing function type that returns const

Closed this issue · 3 comments

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)>);

Thank you for reporting!
We will look into it.

We have just fixed the parser in the develop branch.
Could you try it?

Wow. Thank you so much for such a quick fix. Works as expected.