It seems that rvalue reference syntax is not supported.
declares a rvalue reference of an int. But it is parsed as "declare foo as reference to reference to int" by cdecl. There is no such thing as "reference to reference".
Some info about rvalue reference:
https://stackoverflow.com/questions/5590978/reference-of-reference-in-c
It seems that rvalue reference syntax is not supported.
int&& foodeclares a rvalue reference of an int. But it is parsed as "declare foo as reference to reference to int" by cdecl. There is no such thing as "reference to reference".
Some info about rvalue reference:
https://stackoverflow.com/questions/5590978/reference-of-reference-in-c