libstdc++
memory
Go to the documentation of this file.
1 // <memory> -*- C++ -*-
2 
3 // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
4 // 2009, 2010, 2011
5 // Free Software Foundation, Inc.
6 //
7 // This file is part of the GNU ISO C++ Library. This library is free
8 // software; you can redistribute it and/or modify it under the
9 // terms of the GNU General Public License as published by the
10 // Free Software Foundation; either version 3, or (at your option)
11 // any later version.
12 
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU General Public License for more details.
17 
18 // Under Section 7 of GPL version 3, you are granted additional
19 // permissions described in the GCC Runtime Library Exception, version
20 // 3.1, as published by the Free Software Foundation.
21 
22 // You should have received a copy of the GNU General Public License and
23 // a copy of the GCC Runtime Library Exception along with this program;
24 // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
25 // <http://www.gnu.org/licenses/>.
26 
27 /*
28  * Copyright (c) 1997-1999
29  * Silicon Graphics Computer Systems, Inc.
30  *
31  * Permission to use, copy, modify, distribute and sell this software
32  * and its documentation for any purpose is hereby granted without fee,
33  * provided that the above copyright notice appear in all copies and
34  * that both that copyright notice and this permission notice appear
35  * in supporting documentation. Silicon Graphics makes no
36  * representations about the suitability of this software for any
37  * purpose. It is provided "as is" without express or implied warranty.
38  *
39  */
40 
41 /** @file include/memory
42  * This is a Standard C++ Library header.
43  */
44 
45 #ifndef _GLIBCXX_MEMORY
46 #define _GLIBCXX_MEMORY 1
47 
48 #pragma GCC system_header
49 
50 /**
51  * @defgroup memory Memory
52  * @ingroup utilities
53  *
54  * Components for memory allocation, deallocation, and management.
55  */
56 
57 /**
58  * @defgroup pointer_abstractions Pointer Abstractions
59  * @ingroup memory
60  *
61  * Smart pointers, etc.
62  */
63 
64 #include <bits/stl_algobase.h>
65 #include <bits/allocator.h>
66 #include <bits/stl_construct.h>
67 #include <bits/stl_uninitialized.h>
68 #include <bits/stl_tempbuf.h>
70 
71 #ifdef __GXX_EXPERIMENTAL_CXX0X__
72 # include <exception> // std::exception
73 # include <typeinfo> // std::type_info in get_deleter
74 # include <iosfwd> // std::basic_ostream
75 # include <ext/atomicity.h>
76 # include <ext/concurrence.h>
77 # include <bits/functexcept.h>
78 # include <bits/stl_function.h> // std::less
79 # include <type_traits>
80 # include <functional>
81 # include <debug/debug.h>
82 # if _GLIBCXX_USE_DEPRECATED
83 # include <backward/auto_ptr.h>
84 # endif
85 # include <bits/unique_ptr.h>
86 # include <bits/shared_ptr.h>
87 #else
88 # include <backward/auto_ptr.h>
89 #endif
90 
91 #endif /* _GLIBCXX_MEMORY */