197403Sobrien// Backward-compat support -*- C++ -*- 297403Sobrien 397403Sobrien// Copyright (C) 2001 Free Software Foundation, Inc. 497403Sobrien// 597403Sobrien// This file is part of the GNU ISO C++ Library. This library is free 697403Sobrien// software; you can redistribute it and/or modify it under the 797403Sobrien// terms of the GNU General Public License as published by the 897403Sobrien// Free Software Foundation; either version 2, or (at your option) 997403Sobrien// any later version. 1097403Sobrien 1197403Sobrien// This library is distributed in the hope that it will be useful, 1297403Sobrien// but WITHOUT ANY WARRANTY; without even the implied warranty of 1397403Sobrien// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1497403Sobrien// GNU General Public License for more details. 1597403Sobrien 1697403Sobrien// You should have received a copy of the GNU General Public License along 1797403Sobrien// with this library; see the file COPYING. If not, write to the Free 18169691Skan// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 1997403Sobrien// USA. 2097403Sobrien 2197403Sobrien// As a special exception, you may use this file as part of a free software 2297403Sobrien// library without restriction. Specifically, if other files instantiate 2397403Sobrien// templates or use macros or inline functions from this file, or you compile 2497403Sobrien// this file and link it with other files to produce an executable, this 2597403Sobrien// file does not by itself cause the resulting executable to be covered by 2697403Sobrien// the GNU General Public License. This exception does not however 2797403Sobrien// invalidate any other reasons why the executable file might be covered by 2897403Sobrien// the GNU General Public License. 2997403Sobrien 3097403Sobrien/* 3197403Sobrien * 3297403Sobrien * Copyright (c) 1994 3397403Sobrien * Hewlett-Packard Company 3497403Sobrien * 3597403Sobrien * Permission to use, copy, modify, distribute and sell this software 3697403Sobrien * and its documentation for any purpose is hereby granted without fee, 3797403Sobrien * provided that the above copyright notice appear in all copies and 3897403Sobrien * that both that copyright notice and this permission notice appear 3997403Sobrien * in supporting documentation. Hewlett-Packard Company makes no 4097403Sobrien * representations about the suitability of this software for any 4197403Sobrien * purpose. It is provided "as is" without express or implied warranty. 4297403Sobrien * 4397403Sobrien * 4497403Sobrien * Copyright (c) 1996,1997 4597403Sobrien * Silicon Graphics Computer Systems, Inc. 4697403Sobrien * 4797403Sobrien * Permission to use, copy, modify, distribute and sell this software 4897403Sobrien * and its documentation for any purpose is hereby granted without fee, 4997403Sobrien * provided that the above copyright notice appear in all copies and 5097403Sobrien * that both that copyright notice and this permission notice appear 5197403Sobrien * in supporting documentation. Silicon Graphics makes no 5297403Sobrien * representations about the suitability of this software for any 5397403Sobrien * purpose. It is provided "as is" without express or implied warranty. 5497403Sobrien */ 5597403Sobrien 56132720Skan#ifndef _BACKWARD_ALGO_H 57132720Skan#define _BACKWARD_ALGO_H 1 5897403Sobrien 5997403Sobrien#include "backward_warning.h" 6097403Sobrien#include "algobase.h" 6197403Sobrien#include "tempbuf.h" 6297403Sobrien#include "iterator.h" 6397403Sobrien#include <bits/stl_algo.h> 6497403Sobrien#include <bits/stl_numeric.h> 6597403Sobrien#include <ext/algorithm> 6697403Sobrien#include <ext/numeric> 6797403Sobrien 6897403Sobrien// Names from <stl_algo.h> 69132720Skanusing std::for_each; 70132720Skanusing std::find; 71132720Skanusing std::find_if; 72132720Skanusing std::adjacent_find; 73132720Skanusing std::count; 74132720Skanusing std::count_if; 75132720Skanusing std::search; 76132720Skanusing std::search_n; 77132720Skanusing std::swap_ranges; 78132720Skanusing std::transform; 79132720Skanusing std::replace; 80132720Skanusing std::replace_if; 81132720Skanusing std::replace_copy; 82132720Skanusing std::replace_copy_if; 83132720Skanusing std::generate; 84132720Skanusing std::generate_n; 85132720Skanusing std::remove; 86132720Skanusing std::remove_if; 87132720Skanusing std::remove_copy; 88132720Skanusing std::remove_copy_if; 89132720Skanusing std::unique; 90132720Skanusing std::unique_copy; 91132720Skanusing std::reverse; 92132720Skanusing std::reverse_copy; 93132720Skanusing std::rotate; 94132720Skanusing std::rotate_copy; 95132720Skanusing std::random_shuffle; 96132720Skanusing std::partition; 97132720Skanusing std::stable_partition; 98132720Skanusing std::sort; 99132720Skanusing std::stable_sort; 100132720Skanusing std::partial_sort; 101132720Skanusing std::partial_sort_copy; 102132720Skanusing std::nth_element; 103132720Skanusing std::lower_bound; 104132720Skanusing std::upper_bound; 105132720Skanusing std::equal_range; 106132720Skanusing std::binary_search; 107132720Skanusing std::merge; 108132720Skanusing std::inplace_merge; 109132720Skanusing std::includes; 110132720Skanusing std::set_union; 111132720Skanusing std::set_intersection; 112132720Skanusing std::set_difference; 113132720Skanusing std::set_symmetric_difference; 114132720Skanusing std::min_element; 115132720Skanusing std::max_element; 116132720Skanusing std::next_permutation; 117132720Skanusing std::prev_permutation; 118132720Skanusing std::find_first_of; 119132720Skanusing std::find_end; 12097403Sobrien 12197403Sobrien// Names from stl_heap.h 12297403Sobrienusing std::push_heap; 12397403Sobrienusing std::pop_heap; 12497403Sobrienusing std::make_heap; 12597403Sobrienusing std::sort_heap; 12697403Sobrien 12797403Sobrien// Names from stl_numeric.h 128132720Skanusing std::accumulate; 129132720Skanusing std::inner_product; 130132720Skanusing std::partial_sum; 131132720Skanusing std::adjacent_difference; 13297403Sobrien 13397403Sobrien// Names from ext/algorithm 134132720Skanusing __gnu_cxx::random_sample; 13597403Sobrienusing __gnu_cxx::random_sample_n; 136132720Skanusing __gnu_cxx::is_sorted; 13797403Sobrienusing __gnu_cxx::is_heap; 13897403Sobrienusing __gnu_cxx::count; // Extension returning void 13997403Sobrienusing __gnu_cxx::count_if; // Extension returning void 14097403Sobrien 14197403Sobrien// Names from ext/numeric 142132720Skanusing __gnu_cxx::power; 143132720Skanusing __gnu_cxx::iota; 14497403Sobrien 145132720Skan#endif /* _BACKWARD_ALGO_H */ 146