deque 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. // <deque> -*- C++ -*-
  2. // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
  3. // Free Software Foundation, Inc.
  4. //
  5. // This file is part of the GNU ISO C++ Library. This library is free
  6. // software; you can redistribute it and/or modify it under the
  7. // terms of the GNU General Public License as published by the
  8. // Free Software Foundation; either version 3, or (at your option)
  9. // any later version.
  10. // This library is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. // GNU General Public License for more details.
  14. // Under Section 7 of GPL version 3, you are granted additional
  15. // permissions described in the GCC Runtime Library Exception, version
  16. // 3.1, as published by the Free Software Foundation.
  17. // You should have received a copy of the GNU General Public License and
  18. // a copy of the GCC Runtime Library Exception along with this program;
  19. // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
  20. // <http://www.gnu.org/licenses/>.
  21. /*
  22. *
  23. * Copyright (c) 1994
  24. * Hewlett-Packard Company
  25. *
  26. * Permission to use, copy, modify, distribute and sell this software
  27. * and its documentation for any purpose is hereby granted without fee,
  28. * provided that the above copyright notice appear in all copies and
  29. * that both that copyright notice and this permission notice appear
  30. * in supporting documentation. Hewlett-Packard Company makes no
  31. * representations about the suitability of this software for any
  32. * purpose. It is provided "as is" without express or implied warranty.
  33. *
  34. *
  35. * Copyright (c) 1997
  36. * Silicon Graphics Computer Systems, Inc.
  37. *
  38. * Permission to use, copy, modify, distribute and sell this software
  39. * and its documentation for any purpose is hereby granted without fee,
  40. * provided that the above copyright notice appear in all copies and
  41. * that both that copyright notice and this permission notice appear
  42. * in supporting documentation. Silicon Graphics makes no
  43. * representations about the suitability of this software for any
  44. * purpose. It is provided "as is" without express or implied warranty.
  45. */
  46. /** @file include/deque
  47. * This is a Standard C++ Library header.
  48. */
  49. #ifndef _GLIBCXX_DEQUE
  50. #define _GLIBCXX_DEQUE 1
  51. #pragma GCC system_header
  52. #include <bits/stl_algobase.h>
  53. #include <bits/allocator.h>
  54. #include <bits/stl_construct.h>
  55. #include <bits/stl_uninitialized.h>
  56. #include <bits/stl_deque.h>
  57. #ifndef _GLIBCXX_EXPORT_TEMPLATE
  58. # include <bits/deque.tcc>
  59. #endif
  60. #ifdef _GLIBCXX_DEBUG
  61. # include <debug/deque>
  62. #endif
  63. #endif /* _GLIBCXX_DEQUE */