在C++(C++ 11)标准的不同位置,声明是根据derived-declarator-type-list描述的.我正在研究右值引用,在这种情况下使用这个术语是至关重要的(§8.3.2):
在声明TD中,其中D具有任一形式
&attribute-specifier-seq opt D1
&& attribute-specifier-seq opt D1
和声明中的标识符类型T D1是" derived-declarator-type-list T ",那么D的标识符的类型 是" 对T的derived-declarator-type-list reference ".
不幸的是,类别" derived-declarator-type "从未在标准中定义.(我查看了"衍生"这个词的每一次使用,此外这可能在这里和这里得到确认.)
因为" derived-declarator-type-list "是斜体,我认为它指的是一个类别,而不是一个变量标签T,因此(因此,我不同意Doug Gwyn在我刚刚给出的第二个链接中的评估"我们可以使用X而不是' derived-declarator-type-list '").
在C++ 11标准中,derived-declarator-type的定义是什么?