在 Workarounds for no 'rvalue references to *this' feature中,我看到以下成员函数(一个转换运算符):
第二个
template< class T >
struct A
{
operator T&&() && // <-- What does the second '&&' mean?
{
// ...
}
};
第二个
&&
是什么意思?我不熟悉这个语法。
T()
都具有引用限定符: 链接 - Grijesh Chauhan