P
pascal
Unregistered / Unconfirmed
GUEST, unregistred user!
我的集合定义:
1.
typedef std::set <char, '$', 'Z'> CharSet;
//不对在哪啊?
2.
typedef std::set <char> TCharSet;
TCharSet CharSet;
CharSet.Clear();
CharSet<<'A';
//错在哪里?该怎么写?'operator<<' not implemented in type 'TCharSet' for arguments of type 'char'
1.
typedef std::set <char, '$', 'Z'> CharSet;
//不对在哪啊?
2.
typedef std::set <char> TCharSet;
TCharSet CharSet;
CharSet.Clear();
CharSet<<'A';
//错在哪里?该怎么写?'operator<<' not implemented in type 'TCharSet' for arguments of type 'char'