diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2002-02-01 18:16:03 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2002-02-01 18:16:03 +0000 |
commit | 5f1ec71305f192ecc7b4e5fed40c9c0ea1a52d58 (patch) | |
tree | bd76aa6d942a9db989291ec338a558b2a044a585 /contrib/libstdc++/tests/tvector.cc | |
parent | 1952e2e1c1be6f107fa3ce8b10025cfd1cd7943b (diff) |
Diffstat (limited to 'contrib/libstdc++/tests/tvector.cc')
-rw-r--r-- | contrib/libstdc++/tests/tvector.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/contrib/libstdc++/tests/tvector.cc b/contrib/libstdc++/tests/tvector.cc deleted file mode 100644 index ef238ef52da52..0000000000000 --- a/contrib/libstdc++/tests/tvector.cc +++ /dev/null @@ -1,20 +0,0 @@ -#include <vector.h> -#include <iostream.h> -#include <algo.h> - -main () -{ - cout << "Fill of C array:\n"; - char x[50]; - fill (x, x+50, '/'); - fill (x+1, x+49, '*'); - copy (x, x+50, ostream_iterator<char>(cout)); - - cout << "\nFill of vector<char>:\n"; - - vector<char> cvec; - cvec.insert (cvec.begin(), 50, '/'); - fill (cvec.begin()+1, cvec.end()-1, '-'); - copy (cvec.begin(), cvec.end(), ostream_iterator<char>(cout)); - cout << endl; -} |