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