summaryrefslogtreecommitdiff
path: root/utils/testlist.cc
diff options
context:
space:
mode:
authorsc2000-11-28 14:19:35 +0000
committersc2000-11-28 14:19:35 +0000
commit325530e630c68c7c10a2f4339f5b43434fcd0329 (patch)
tree8e655f6002598176ed0e9e5e0ba3bcb0971c434d /utils/testlist.cc
parentb8af7905fd61ce5cb2c94da78ccc9e051f9ceddc (diff)
downloadivy-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/testlist.cc')
-rw-r--r--utils/testlist.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/utils/testlist.cc b/utils/testlist.cc
index 076d88e..934c28f 100644
--- a/utils/testlist.cc
+++ b/utils/testlist.cc
@@ -5,9 +5,9 @@
main ()
{
#ifdef CPLUS_BUG19
- CcuList l;
+ IvlList l;
#else
- CcuListOf <char> l;
+ IvlListOf <char> l;
#endif
char c;
char s[80];
@@ -34,9 +34,9 @@ main ()
int i;
scanf (" %d %s", &i, s);
#ifdef CPLUS_BUG19
- CcuListIter lj (l);
+ IvlListIter lj (l);
#else
- CcuListIterOf <char> lj (l);
+ IvlListIterOf <char> lj (l);
#endif
while ((i-- > 0) && ++lj)
;
@@ -48,9 +48,9 @@ main ()
int i;
scanf (" %d %s", &i, s);
#ifdef CPLUS_BUG19
- CcuListIter lj (l);
+ IvlListIter lj (l);
#else
- CcuListIterOf <char> lj (l);
+ IvlListIterOf <char> lj (l);
#endif
while ((i-- > 0) && ++lj)
;
@@ -59,13 +59,13 @@ main ()
}
}
#ifdef CPLUS_BUG19
- CcuListIter li (l);
+ IvlListIter li (l);
while (++li) {
char* pt = (char*) *li;
printf ("%s ", pt);
}
#else
- CcuListIterOf <char> li (l);
+ IvlListIterOf <char> li (l);
while (++li) {
char* pt = *li;
printf ("%s ", pt);