std_stack.h revision 132720
1278332Semaste// <stack> -*- C++ -*- 2278332Semaste 3353358Sdim// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. 4353358Sdim// 5353358Sdim// This file is part of the GNU ISO C++ Library. This library is free 6278332Semaste// software; you can redistribute it and/or modify it under the 7278332Semaste// terms of the GNU General Public License as published by the 8278332Semaste// Free Software Foundation; either version 2, or (at your option) 9278332Semaste// any later version. 10278332Semaste 11278332Semaste// This library is distributed in the hope that it will be useful, 12314564Sdim// but WITHOUT ANY WARRANTY; without even the implied warranty of 13278332Semaste// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14278332Semaste// GNU General Public License for more details. 15314564Sdim 16278332Semaste// You should have received a copy of the GNU General Public License along 17314564Sdim// with this library; see the file COPYING. If not, write to the Free 18278332Semaste// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, 19314564Sdim// USA. 20278332Semaste 21314564Sdim// As a special exception, you may use this file as part of a free software 22314564Sdim// library without restriction. Specifically, if other files instantiate 23314564Sdim// templates or use macros or inline functions from this file, or you compile 24314564Sdim// this file and link it with other files to produce an executable, this 25278332Semaste// file does not by itself cause the resulting executable to be covered by 26314564Sdim// the GNU General Public License. This exception does not however 27314564Sdim// invalidate any other reasons why the executable file might be covered by 28278332Semaste// the GNU General Public License. 29321369Sdim 30314564Sdim/* 31314564Sdim * 32278332Semaste * Copyright (c) 1994 33314564Sdim * Hewlett-Packard Company 34314564Sdim * 35314564Sdim * Permission to use, copy, modify, distribute and sell this software 36278332Semaste * and its documentation for any purpose is hereby granted without fee, 37314564Sdim * provided that the above copyright notice appear in all copies and 38314564Sdim * that both that copyright notice and this permission notice appear 39296417Sdim * in supporting documentation. Hewlett-Packard Company makes no 40314564Sdim * representations about the suitability of this software for any 41278332Semaste * purpose. It is provided "as is" without express or implied warranty. 42314564Sdim * 43278332Semaste * 44314564Sdim * Copyright (c) 1996,1997 45314564Sdim * Silicon Graphics Computer Systems, Inc. 46314564Sdim * 47314564Sdim * Permission to use, copy, modify, distribute and sell this software 48314564Sdim * and its documentation for any purpose is hereby granted without fee, 49314564Sdim * provided that the above copyright notice appear in all copies and 50314564Sdim * that both that copyright notice and this permission notice appear 51314564Sdim * in supporting documentation. Silicon Graphics makes no 52314564Sdim * representations about the suitability of this software for any 53314564Sdim * purpose. It is provided "as is" without express or implied warranty. 54314564Sdim */ 55314564Sdim 56314564Sdim/** @file stack 57314564Sdim * This is a Standard C++ Library header. You should @c #include this header 58314564Sdim * in your programs, rather than any of the "st[dl]_*.h" implementation files. 59314564Sdim */ 60314564Sdim 61314564Sdim#ifndef _GLIBCXX_STACK 62314564Sdim#define _GLIBCXX_STACK 1 63278332Semaste 64314564Sdim#pragma GCC system_header 65314564Sdim 66314564Sdim#include <bits/stl_algobase.h> 67314564Sdim#include <bits/allocator.h> 68314564Sdim#include <bits/stl_construct.h> 69278332Semaste#include <bits/stl_uninitialized.h> 70314564Sdim#include <deque> 71314564Sdim#include <bits/stl_stack.h> 72278332Semaste 73314564Sdim#endif /* _GLIBCXX_STACK */ 74296417Sdim