Maybe it’s the flu, or I'm just stupid, but I can’t understand the part of this Crow frame code. My internal C ++ parser fails.
template <typename MW>
struct check_before_handle_arity_3_const
{
template <typename T,
void (T::*)(int, typename MW::context&) const = &T::before_handle
>
struct get
{ };
};
I know this is a template parameter inside a template declaration. It looks like maybe some kind of parameter like a lambda or a pointer function ... but, I'm not sure. Can anyone explain this line?
Update:
Studying the depth of newly acquired knowledge - after the answer was brought to this excerpt from the big book :
. ( .) [...] , . . , , , . , .
, .