更新时间:2022-01-29 22:25:53
它只是一个添加了 friend
说明符的模板声明:
It's quite straightforward. It's simply a template declaration with the added friend
specifier:
template<class T>
class A
{
template<class T1, class... Args>
friend A<T1> MakeA(Args&&... args);
A(T) { }
};