summaryrefslogtreecommitdiff
path: root/ace/Map_T.h
diff options
context:
space:
mode:
authordoccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-08-17 06:09:38 +0000
committerdoccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-08-17 06:09:38 +0000
commit1b346ebf539275ff48e8af50c827bf7866a75580 (patch)
treed08b705e8a589f617d8a38b3ede45d5e7fe7d011 /ace/Map_T.h
parenta9843ad557c6553a5072e9e43565f38adece254b (diff)
downloadATCD-1b346ebf539275ff48e8af50c827bf7866a75580.tar.gz
ChangeLogTag: Fri Augr 17 08:06:04 2001 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/Map_T.h')
-rw-r--r--ace/Map_T.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/ace/Map_T.h b/ace/Map_T.h
index 396d2ae0e6e..9797f76bd90 100644
--- a/ace/Map_T.h
+++ b/ace/Map_T.h
@@ -64,7 +64,7 @@ public:
int operator () (T &t);
/// Returns the current value.
- T& current_value (void) const;
+ const T& current_value (void) const;
protected:
@@ -258,7 +258,23 @@ class ACE_Map
{
public:
- // = Traits.
+ // = ACE style traits.
+ typedef KEY
+ KEY_TYPE;
+ typedef VALUE
+ MAPPED_TYPE;
+ typedef ACE_Reference_Pair<const KEY, VALUE>
+ VALUE_TYPE;
+ typedef ACE_Iterator<VALUE_TYPE>
+ ITERATOR;
+ typedef ACE_Reverse_Iterator<VALUE_TYPE>
+ REVERSE_ITERATOR;
+ typedef ACE_Iterator_Impl<VALUE_TYPE>
+ ITERATOR_IMPLEMENTATION;
+ typedef ACE_Reverse_Iterator_Impl<VALUE_TYPE>
+ REVERSE_ITERATOR_IMPLEMENTATION;
+
+ // = STL style traits.
typedef KEY
key_type;
typedef VALUE