diff --git a/inc/hgl/type/KeyValue.h b/inc/hgl/type/KeyValue.h new file mode 100644 index 0000000..54e24d4 --- /dev/null +++ b/inc/hgl/type/KeyValue.h @@ -0,0 +1,10 @@ +#pragma once + +namespace hgl +{ + template struct KeyValue + { + K key; + V value; + }; +}//namespace hgl diff --git a/inc/hgl/type/Map.h b/inc/hgl/type/Map.h index 8a3b826..357b75b 100644 --- a/inc/hgl/type/Map.h +++ b/inc/hgl/type/Map.h @@ -1,17 +1,13 @@ #pragma once +#include #include #include #include #include + namespace hgl { - template struct KeyValue - { - K key; - V value; - }; - /** * 索引数据模板 */