From my understanding, typedef syntax is:
typedef existing_type new_type_name;
However, in Chrome's v8 namespace, there are many typedefs that seem to work with some other syntax. For example,
typedef void(* FunctionCallback )(const FunctionCallbackInfo< Value > &info)
There are two things I don't understand:
1- FunctionCallbackInfo< Value > is a class defined in the namespace, while FunctionCallback isn't; isn't the existing type supposed to come first?
2- There are no spaces seperating the existing_type and new_type_name
What is the right way to read this?
EDIT: I am taking all typedef information in this tutorial.