
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
31.03.2007, 14:27
|
|||
|---|---|---|---|
|
|||
set и GUID |
|||
|
#18+
Нужно создать set<GUID> [ccode] set<GUID> UcomprSubType; UcomprSubType.insert(MEDIASUBTYPE_AYUV); int nResult=UcomprSubType.count(SubType); [/ccode] VC++ 2003 матюгается : f:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139): error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'const GUID' f:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\functional(139): error C2676: binary '<' : 'const GUID' does not define this operator or a conversion to a type acceptable to the predefined operator Нужно перегрузить оператор '<' для типа GUID приведите пожалуйста пример как это сделать ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=57&tablet=1&tid=2029138]: |
0ms |
get settings: |
8ms |
get forum list: |
22ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
55ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
32ms |
get tp. blocked users: |
1ms |
| others: | 218ms |
| total: | 357ms |

| 0 / 0 |
