bitmap_allocator_base.h revision 132720
1169689Skan// Base to std::allocator -*- C++ -*-
2169689Skan
3169689Skan// Copyright (C) 2004 Free Software Foundation, Inc.
4169689Skan//
5169689Skan// This file is part of the GNU ISO C++ Library.  This library is free
6169689Skan// software; you can redistribute it and/or modify it under the
7169689Skan// terms of the GNU General Public License as published by the
8169689Skan// Free Software Foundation; either version 2, or (at your option)
9169689Skan// any later version.
10169689Skan
11169689Skan// This library is distributed in the hope that it will be useful,
12169689Skan// but WITHOUT ANY WARRANTY; without even the implied warranty of
13169689Skan// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14169689Skan// GNU General Public License for more details.
15169689Skan
16169689Skan// You should have received a copy of the GNU General Public License along
17169689Skan// with this library; see the file COPYING.  If not, write to the Free
18169689Skan// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
19169689Skan// USA.
20169689Skan
21169689Skan// As a special exception, you may use this file as part of a free software
22169689Skan// library without restriction.  Specifically, if other files instantiate
23169689Skan// templates or use macros or inline functions from this file, or you compile
24169689Skan// this file and link it with other files to produce an executable, this
25169689Skan// file does not by itself cause the resulting executable to be covered by
26169689Skan// the GNU General Public License.  This exception does not however
27169689Skan// invalidate any other reasons why the executable file might be covered by
28169689Skan// the GNU General Public License.
29169689Skan
30169689Skan#ifndef _CXX_ALLOCATOR_H
31169689Skan#define _CXX_ALLOCATOR_H 1
32169689Skan
33169689Skan// Define bitmap_allocator as the base class to std::allocator.
34169689Skan#include <ext/bitmap_allocator.h>
35169689Skan#define ___glibcxx_base_allocator  __gnu_cxx::bitmap_allocator
36169689Skan
37169689Skan#endif
38169689Skan