I recently met something in a different source code. I do not quite understand the template in C ++. could you help me?
struct my_grammar : public grammar<my_grammar> { ... };
Why can my_grammar be used as a type parameter like this?
Best wishes,
source share