standalone KeyValue.h
This commit is contained in:
parent
90d32a0e06
commit
8de62be97f
10
inc/hgl/type/KeyValue.h
Normal file
10
inc/hgl/type/KeyValue.h
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
namespace hgl
|
||||
{
|
||||
template<typename K,typename V> struct KeyValue
|
||||
{
|
||||
K key;
|
||||
V value;
|
||||
};
|
||||
}//namespace hgl
|
@ -1,17 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include<hgl/type/KeyValue.h>
|
||||
#include<hgl/type/List.h>
|
||||
#include<hgl/type/Pair.h>
|
||||
#include<hgl/type/Pool.h>
|
||||
#include<hgl/thread/RWLock.h>
|
||||
|
||||
namespace hgl
|
||||
{
|
||||
template<typename K,typename V> struct KeyValue
|
||||
{
|
||||
K key;
|
||||
V value;
|
||||
};
|
||||
|
||||
/**
|
||||
* 索引数据模板
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user