libstdc++
memory
Go to the documentation of this file.
00001 // <memory> -*- C++ -*-
00002 
00003 // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
00004 // 2009, 2010, 2011
00005 // Free Software Foundation, Inc.
00006 //
00007 // This file is part of the GNU ISO C++ Library.  This library is free
00008 // software; you can redistribute it and/or modify it under the
00009 // terms of the GNU General Public License as published by the
00010 // Free Software Foundation; either version 3, or (at your option)
00011 // any later version.
00012 
00013 // This library is distributed in the hope that it will be useful,
00014 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 // GNU General Public License for more details.
00017 
00018 // Under Section 7 of GPL version 3, you are granted additional
00019 // permissions described in the GCC Runtime Library Exception, version
00020 // 3.1, as published by the Free Software Foundation.
00021 
00022 // You should have received a copy of the GNU General Public License and
00023 // a copy of the GCC Runtime Library Exception along with this program;
00024 // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
00025 // <http://www.gnu.org/licenses/>.
00026 
00027 /*
00028  * Copyright (c) 1997-1999
00029  * Silicon Graphics Computer Systems, Inc.
00030  *
00031  * Permission to use, copy, modify, distribute and sell this software
00032  * and its documentation for any purpose is hereby granted without fee,
00033  * provided that the above copyright notice appear in all copies and
00034  * that both that copyright notice and this permission notice appear
00035  * in supporting documentation.  Silicon Graphics makes no
00036  * representations about the suitability of this software for any
00037  * purpose.  It is provided "as is" without express or implied warranty.
00038  *
00039  */
00040 
00041 /** @file include/memory
00042  *  This is a Standard C++ Library header.
00043  */
00044 
00045 #ifndef _GLIBCXX_MEMORY
00046 #define _GLIBCXX_MEMORY 1
00047 
00048 #pragma GCC system_header
00049 
00050 /**
00051  * @defgroup memory Memory
00052  * @ingroup utilities
00053  *
00054  * Components for memory allocation, deallocation, and management.
00055  */
00056 
00057 /**
00058  * @defgroup pointer_abstractions Pointer Abstractions
00059  * @ingroup memory
00060  *
00061  * Smart pointers, etc.
00062  */
00063 
00064 #include <bits/stl_algobase.h>
00065 #include <bits/allocator.h>
00066 #include <bits/stl_construct.h>
00067 #include <bits/stl_uninitialized.h>
00068 #include <bits/stl_tempbuf.h>
00069 #include <bits/stl_raw_storage_iter.h>
00070 
00071 #ifdef __GXX_EXPERIMENTAL_CXX0X__
00072 #  include <exception>            // std::exception
00073 #  include <typeinfo>             // std::type_info in get_deleter
00074 #  include <iosfwd>               // std::basic_ostream
00075 #  include <ext/atomicity.h>
00076 #  include <ext/concurrence.h>
00077 #  include <bits/functexcept.h>
00078 #  include <bits/stl_function.h>  // std::less
00079 #  include <bits/uses_allocator.h>
00080 #  include <type_traits>
00081 #  include <functional>
00082 #  include <debug/debug.h>
00083 #  if _GLIBCXX_USE_DEPRECATED
00084 #    include <backward/auto_ptr.h>
00085 #  endif
00086 #  include <bits/unique_ptr.h>
00087 #  include <bits/shared_ptr.h>
00088 #else
00089 #  include <backward/auto_ptr.h>
00090 #endif
00091 
00092 #endif /* _GLIBCXX_MEMORY */