DCL
4.0
Loading...
Searching...
No Matches
AssocT.h
Go to the documentation of this file.
1
#ifndef __DCL_ASSOC_T_H__
2
#define __DCL_ASSOC_T_H__ 20110303
3
4
#ifndef __DCL_CONFIG_H__
5
#include <
dcl/Config.h
>
6
#endif
7
8
__DCL_BEGIN_NAMESPACE
9
10
template
<
typename
KEY,
typename
VALUE>
11
struct
Assoc
12
{
13
KEY
key
;
14
VALUE
value
;
15
16
Assoc
() {}
17
Assoc
(
const
KEY&
key
,
const
VALUE&
value
)
18
{
19
this->key =
key
;
20
this->value =
value
;
21
}
22
};
23
24
__DCL_END_NAMESPACE
25
26
#endif
// __DCL_ASSOC_T_H__
Config.h
Assoc::Assoc
Assoc()
Definition
AssocT.h:16
Assoc::key
KEY key
Definition
AssocT.h:13
Assoc::Assoc
Assoc(const KEY &key, const VALUE &value)
Definition
AssocT.h:17
Assoc::value
VALUE value
Definition
AssocT.h:14
include
dcl
AssocT.h
Generated by
1.14.0