libstdc++
|
00001 // <memory> Forward declarations -*- C++ -*- 00002 00003 // Copyright (C) 2001-2015 Free Software Foundation, Inc. 00004 // 00005 // This file is part of the GNU ISO C++ Library. This library is free 00006 // software; you can redistribute it and/or modify it under the 00007 // terms of the GNU General Public License as published by the 00008 // Free Software Foundation; either version 3, or (at your option) 00009 // any later version. 00010 00011 // This library is distributed in the hope that it will be useful, 00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 // GNU General Public License for more details. 00015 00016 // Under Section 7 of GPL version 3, you are granted additional 00017 // permissions described in the GCC Runtime Library Exception, version 00018 // 3.1, as published by the Free Software Foundation. 00019 00020 // You should have received a copy of the GNU General Public License and 00021 // a copy of the GCC Runtime Library Exception along with this program; 00022 // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 00023 // <http://www.gnu.org/licenses/>. 00024 00025 /* 00026 * Copyright (c) 1996-1997 00027 * Silicon Graphics Computer Systems, Inc. 00028 * 00029 * Permission to use, copy, modify, distribute and sell this software 00030 * and its documentation for any purpose is hereby granted without fee, 00031 * provided that the above copyright notice appear in all copies and 00032 * that both that copyright notice and this permission notice appear 00033 * in supporting documentation. Silicon Graphics makes no 00034 * representations about the suitability of this software for any 00035 * purpose. It is provided "as is" without express or implied warranty. 00036 */ 00037 00038 /** @file bits/memoryfwd.h 00039 * This is an internal header file, included by other library headers. 00040 * Do not attempt to use it directly. @headername{memory} 00041 */ 00042 00043 #ifndef _MEMORYFWD_H 00044 #define _MEMORYFWD_H 1 00045 00046 #pragma GCC system_header 00047 00048 #include <bits/c++config.h> 00049 00050 namespace std _GLIBCXX_VISIBILITY(default) 00051 { 00052 _GLIBCXX_BEGIN_NAMESPACE_VERSION 00053 00054 /** 00055 * @defgroup allocators Allocators 00056 * @ingroup memory 00057 * 00058 * Classes encapsulating memory operations. 00059 * 00060 * @{ 00061 */ 00062 00063 template<typename> 00064 class allocator; 00065 00066 template<> 00067 class allocator<void>; 00068 00069 /// Declare uses_allocator so it can be specialized in <queue> etc. 00070 template<typename, typename> 00071 struct uses_allocator; 00072 00073 /// @} group memory 00074 00075 _GLIBCXX_END_NAMESPACE_VERSION 00076 } // namespace std 00077 00078 #endif