standalone KeyValue.h

This commit is contained in:
hyzboy 2025-01-05 01:33:50 +08:00
parent 90d32a0e06
commit 8de62be97f
2 changed files with 12 additions and 6 deletions

10
inc/hgl/type/KeyValue.h Normal file
View File

@ -0,0 +1,10 @@
#pragma once
namespace hgl
{
template<typename K,typename V> struct KeyValue
{
K key;
V value;
};
}//namespace hgl

View File

@ -1,17 +1,13 @@
#pragma once #pragma once
#include<hgl/type/KeyValue.h>
#include<hgl/type/List.h> #include<hgl/type/List.h>
#include<hgl/type/Pair.h> #include<hgl/type/Pair.h>
#include<hgl/type/Pool.h> #include<hgl/type/Pool.h>
#include<hgl/thread/RWLock.h> #include<hgl/thread/RWLock.h>
namespace hgl namespace hgl
{ {
template<typename K,typename V> struct KeyValue
{
K key;
V value;
};
/** /**
* *
*/ */