65,203
社区成员




template<class T>
class stack
{
...
public:
friend bool operator ==<>(const stack&, const stack&);
...
}
template<class type>
bool operator ==(const stack<type>&, const stack<type>&)
{...}
friend bool operator ==<T>(const stack<T>&, const stack<T>&);