]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/include/std/memory
* many: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus.
[thirdparty/gcc.git] / libstdc++-v3 / include / std / memory
CommitLineData
54c1bf78 1// <memory> -*- C++ -*-
de96ac46 2
6e48db73 3// Copyright (C) 2001-2012 Free Software Foundation, Inc.
de96ac46
BK
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
748086b7 8// Free Software Foundation; either version 3, or (at your option)
de96ac46
BK
9// any later version.
10
11// This library is distributed in the hope that it will be useful,
12// but WITHOUT ANY WARRANTY; without even the implied warranty of
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14// GNU General Public License for more details.
15
748086b7
JJ
16// Under Section 7 of GPL version 3, you are granted additional
17// permissions described in the GCC Runtime Library Exception, version
18// 3.1, as published by the Free Software Foundation.
de96ac46 19
748086b7
JJ
20// You should have received a copy of the GNU General Public License and
21// a copy of the GCC Runtime Library Exception along with this program;
22// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
23// <http://www.gnu.org/licenses/>.
de96ac46 24
54c1bf78
BK
25/*
26 * Copyright (c) 1997-1999
27 * Silicon Graphics Computer Systems, Inc.
28 *
29 * Permission to use, copy, modify, distribute and sell this software
30 * and its documentation for any purpose is hereby granted without fee,
31 * provided that the above copyright notice appear in all copies and
32 * that both that copyright notice and this permission notice appear
33 * in supporting documentation. Silicon Graphics makes no
34 * representations about the suitability of this software for any
35 * purpose. It is provided "as is" without express or implied warranty.
36 *
37 */
38
143c27b0 39/** @file include/memory
0aa06b18 40 * This is a Standard C++ Library header.
2f9d51b8
PE
41 */
42
1143680e
SE
43#ifndef _GLIBCXX_MEMORY
44#define _GLIBCXX_MEMORY 1
54c1bf78
BK
45
46#pragma GCC system_header
47
8e32aa11
BK
48/**
49 * @defgroup memory Memory
50 * @ingroup utilities
51 *
52 * Components for memory allocation, deallocation, and management.
53 */
54
55/**
56 * @defgroup pointer_abstractions Pointer Abstractions
57 * @ingroup memory
58 *
59 * Smart pointers, etc.
60 */
61
acb8a4ef
PC
62#include <bits/stl_algobase.h>
63#include <bits/allocator.h>
64#include <bits/stl_construct.h>
65#include <bits/stl_uninitialized.h>
66#include <bits/stl_tempbuf.h>
acb8a4ef 67#include <bits/stl_raw_storage_iter.h>
54c1bf78 68
734f5023 69#if __cplusplus >= 201103L
e133ace8 70# include <exception> // std::exception
e133ace8 71# include <typeinfo> // std::type_info in get_deleter
e133ace8
PC
72# include <iosfwd> // std::basic_ostream
73# include <ext/atomicity.h>
74# include <ext/concurrence.h>
75# include <bits/functexcept.h>
76# include <bits/stl_function.h> // std::less
e8eb60bd 77# include <bits/uses_allocator.h>
e133ace8 78# include <type_traits>
640cbe76 79# include <functional>
8e32aa11 80# include <debug/debug.h>
6e48db73
JW
81# include <bits/unique_ptr.h>
82# include <bits/shared_ptr.h>
e1bcd685 83# if _GLIBCXX_USE_DEPRECATED
40abbf1f
BK
84# include <backward/auto_ptr.h>
85# endif
40abbf1f
BK
86#else
87# include <backward/auto_ptr.h>
af13a7a6
BK
88#endif
89
1143680e 90#endif /* _GLIBCXX_MEMORY */