diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2003-11-07 02:44:14 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2003-11-07 02:44:14 +0000 |
| commit | c61cefb6a3846eb576911368ff9a594ca010ef22 (patch) | |
| tree | 6613ef1d183b2873a50ded4c0fbdb2672382a9e8 /contrib/libstdc++/tests/tvector.cc | |
| parent | 29b93e91bc7355c95124e05eccf852189d68c536 (diff) | |
Notes
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 ef238ef52da5..000000000000 --- 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; -} |
