diff options
author | sc | 2000-11-28 14:19:35 +0000 |
---|---|---|
committer | sc | 2000-11-28 14:19:35 +0000 |
commit | 325530e630c68c7c10a2f4339f5b43434fcd0329 (patch) | |
tree | 8e655f6002598176ed0e9e5e0ba3bcb0971c434d /utils/testid.cc | |
parent | b8af7905fd61ce5cb2c94da78ccc9e051f9ceddc (diff) | |
download | ivy-league-325530e630c68c7c10a2f4339f5b43434fcd0329.zip ivy-league-325530e630c68c7c10a2f4339f5b43434fcd0329.tar.gz ivy-league-325530e630c68c7c10a2f4339f5b43434fcd0329.tar.bz2 ivy-league-325530e630c68c7c10a2f4339f5b43434fcd0329.tar.xz |
Incorporation into IvyLeague
Ccu -> Ivl
ccu -> ivl
Smart pointers disappear (too dangerous)
Imakefile disappears (Makefile now)
An empty cplus_bugs.h has been created locally
Diffstat (limited to 'utils/testid.cc')
-rw-r--r-- | utils/testid.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/testid.cc b/utils/testid.cc index bb79ced..72f30ae 100644 --- a/utils/testid.cc +++ b/utils/testid.cc @@ -4,7 +4,7 @@ #include <stdlib.h> #include <string.h> -CcuIdTableOf <char> table (2); +IvlIdTableOf <char> table (2); main () { @@ -32,7 +32,7 @@ main () } if (strcmp (s, "#") == 0) { - CcuIdIter hi = table; + IvlIdIter hi = table; while (++hi) printf ("%d: %s\n", hi.CurId (), *hi); continue; @@ -41,7 +41,7 @@ main () /* delete */ if (*s == '-') { bool found; - CcuID id = (CcuID) (atoi (++s)); + IvlID id = (IvlID) (atoi (++s)); printf ("searching id %d\n", id); char* info = table.Remove (id, &found); if (! found) @@ -54,7 +54,7 @@ main () } /* add */ - CcuID id = table.Store (NewString (s)); + IvlID id = table.Store (NewString (s)); printf ("-> %d\n", id); } |