baac9fce7d
2001-04-05 Benjamin Kosnik <bkoz@redhat.com> Warn when using backward headers. * include/backward/algo.h: Include warning file. * include/backward/vector.h: Same. * include/backward/tree.h: Same. * include/backward/tempbuf.h: Same. * include/backward/strstream: Same. * include/backward/streambuf.h: Same. * include/backward/stream.h: Same. * include/backward/stack.h: Same. * include/backward/slist.h: Same. * include/backward/set.h: Same. * include/backward/rope.h: * include/backward/queue.h: Same. * include/backward/pair.h: Same. * include/backward/ostream.h: Same. * include/backward/new.h: Same. * include/backward/multiset.h: Same. * include/backward/multimap.h: Same. * include/backward/map.h: Same. * include/backward/list.h: Same. * include/backward/iterator.h: Same. * include/backward/istream.h: Same. * include/backward/iostream.h: * include/backward/iomanip.h: * include/backward/heap.h: Same. * include/backward/hashtable.h: * include/backward/hash_set.h: * include/backward/hash_map.h: * include/backward/function.h: * include/backward/fstream.h: * include/backward/deque.h: * include/backward/defalloc.h: Same. * include/backward/complex.h: Same. * include/backward/bvector.h: * include/backward/alloc.h: * include/backward/algobase.h: Same. * include/backward/backward_warning.h: New file. * src/Makefile.am (backward_headers): Add backward_warning.h * src/Makefile.in: Regenerate. 2001-04-05 Benjamin Kosnik <bkoz@redhat.com> * src/Makefile.am (myinstalldirs): Make sure backward directory is created. (myinstallheaders): Install backward headers in backward directory. * src/Makefile.in: Regenerate. From-SVN: r41139
61 lines
1.8 KiB
C++
61 lines
1.8 KiB
C++
/*
|
|
*
|
|
* Copyright (c) 1994
|
|
* Hewlett-Packard Company
|
|
*
|
|
* Permission to use, copy, modify, distribute and sell this software
|
|
* and its documentation for any purpose is hereby granted without fee,
|
|
* provided that the above copyright notice appear in all copies and
|
|
* that both that copyright notice and this permission notice appear
|
|
* in supporting documentation. Hewlett-Packard Company makes no
|
|
* representations about the suitability of this software for any
|
|
* purpose. It is provided "as is" without express or implied warranty.
|
|
*
|
|
* Copyright (c) 1996,1997
|
|
* Silicon Graphics Computer Systems, Inc.
|
|
*
|
|
* Permission to use, copy, modify, distribute and sell this software
|
|
* and its documentation for any purpose is hereby granted without fee,
|
|
* provided that the above copyright notice appear in all copies and
|
|
* that both that copyright notice and this permission notice appear
|
|
* in supporting documentation. Silicon Graphics makes no
|
|
* representations about the suitability of this software for any
|
|
* purpose. It is provided "as is" without express or implied warranty.
|
|
*/
|
|
|
|
#ifndef _CPP_BACKWARD_ALGOBASE_H
|
|
#define _CPP_BACKWARD_ALGOBASE_H 1
|
|
|
|
#include "backward_warning.h"
|
|
#include "pair.h"
|
|
#include "iterator.h"
|
|
#include <bits/stl_algobase.h>
|
|
#include <bits/stl_uninitialized.h>
|
|
|
|
// Names from stl_algobase.h
|
|
using std::iter_swap;
|
|
using std::swap;
|
|
using std::min;
|
|
using std::max;
|
|
using std::copy;
|
|
using std::copy_backward;
|
|
using std::copy_n;
|
|
using std::fill;
|
|
using std::fill_n;
|
|
using std::mismatch;
|
|
using std::equal;
|
|
using std::lexicographical_compare;
|
|
using std::lexicographical_compare_3way;
|
|
|
|
// Names from stl_uninitialized.h
|
|
using std::uninitialized_copy;
|
|
using std::uninitialized_copy_n;
|
|
using std::uninitialized_fill;
|
|
using std::uninitialized_fill_n;
|
|
|
|
#endif /* _CPP_BACKWARD_ALGOBASE_H */
|
|
|
|
// Local Variables:
|
|
// mode:C++
|
|
// End:
|