CMExamples/datatype/collection/MultiMapTest.cpp

24 lines
353 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//多重map测试
//多重map指的是一套数据含有多个关键字每个关键字都可以用来查找数据这样的数据结构称为多重map。
struct Person
{
char name[128];
bool sex;
int age;
};
template<typename T> class MultiMapIndex
{
};
template<typename T> class MultiMap
{
List<T> data_list;
public:
};