allocator-inst.cc revision 132720
119370Spst// Explicit instantiation file.
219370Spst
319370Spst// Copyright (C) 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
419370Spst//
519370Spst// This file is part of the GNU ISO C++ Library.  This library is free
619370Spst// software; you can redistribute it and/or modify it under the
719370Spst// terms of the GNU General Public License as published by the
819370Spst// Free Software Foundation; either version 2, or (at your option)
919370Spst// any later version.
1019370Spst
1119370Spst// This library is distributed in the hope that it will be useful,
1219370Spst// but WITHOUT ANY WARRANTY; without even the implied warranty of
1319370Spst// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1419370Spst// GNU General Public License for more details.
1519370Spst
1619370Spst// You should have received a copy of the GNU General Public License along
1719370Spst// with this library; see the file COPYING.  If not, write to the Free
1819370Spst// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
1919370Spst// USA.
2019370Spst
2119370Spst// As a special exception, you may use this file as part of a free software
2219370Spst// library without restriction.  Specifically, if other files instantiate
2319370Spst// templates or use macros or inline functions from this file, or you compile
2419370Spst// this file and link it with other files to produce an executable, this
2519370Spst// file does not by itself cause the resulting executable to be covered by
2619370Spst// the GNU General Public License.  This exception does not however
2719370Spst// invalidate any other reasons why the executable file might be covered by
2819370Spst// the GNU General Public License.
2919370Spst
3019370Spst//
3119370Spst// ISO C++ 14882:
3219370Spst//
3319370Spst
3419370Spst#include <memory>
3519370Spst#include <ext/mt_allocator.h>
3619370Spst#include <ext/pool_allocator.h>
3719370Spst
3819370Spstnamespace std
3919370Spst{
4019370Spst  template class allocator<char>;
4119370Spst  template class allocator<wchar_t>;
4219370Spst} // namespace std
4319370Spst
4419370Spstnamespace __gnu_cxx
4519370Spst{
4619370Spst  template class __mt_alloc<char>;
4719370Spst  template class __mt_alloc<wchar_t>;
4819370Spst
4919370Spst  template class __pool_alloc<char>;
5019370Spst  template class __pool_alloc<wchar_t>;
5119370Spst} // namespace __gnu_cxx
52