On 08/22/2014 03:47 PM, Manuel López-Ibáñez wrote:
Are there actually cases where the qualifiers mean different things for function_type and method_type?
If a FUNCTION_TYPE is a typedef or template argument, TYPE_READONLY and TYPE_VOLATILE are the function-cv-quals. A plain METHOD_TYPE cannot appear in those contexts.
In all other contexts, TYPE_READONLY and TYPE_VOLATILE are attributes const and noreturn.
I've tried to move the function-cv-quals out of those flags a couple of times and given up.
Jason