alloc.h revision 97403
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 1897403Sobrien// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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 * Copyright (c) 1996-1997 3297403Sobrien * Silicon Graphics Computer Systems, Inc. 3397403Sobrien * 3497403Sobrien * Permission to use, copy, modify, distribute and sell this software 3597403Sobrien * and its documentation for any purpose is hereby granted without fee, 3697403Sobrien * provided that the above copyright notice appear in all copies and 3797403Sobrien * that both that copyright notice and this permission notice appear 3897403Sobrien * in supporting documentation. Silicon Graphics makes no 3997403Sobrien * representations about the suitability of this software for any 4097403Sobrien * purpose. It is provided "as is" without express or implied warranty. 4197403Sobrien */ 4297403Sobrien 4397403Sobrien#ifndef _CPP_BACKWARD_ALLOC_H 4497403Sobrien#define _CPP_BACKWARD_ALLOC_H 1 4597403Sobrien 4697403Sobrien#include "backward_warning.h" 4797403Sobrien#include <bits/c++config.h> 4897403Sobrien#include <bits/stl_alloc.h> 4997403Sobrien 5097403Sobrienusing std::__malloc_alloc_template; 5197403Sobrienusing std::__simple_alloc; 5297403Sobrienusing std::__debug_alloc; 5397403Sobrienusing std::__alloc; 5497403Sobrienusing std::__single_client_alloc; 5597403Sobrienusing std::allocator; 5697403Sobrien#ifdef __USE_MALLOC 5797403Sobrienusing std::malloc_alloc; 5897403Sobrien#else 5997403Sobrienusing std::__default_alloc_template; 6097403Sobrien#endif 6197403Sobrien 6297403Sobrien#endif 63