Commit 32fdf2f4 by Jonathan Wakely Committed by Jonathan Wakely

shared_ptr.h: Add include guards.

2009-03-11  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* include/bits/shared_ptr.h: Add include guards.
	* include/tr1/shared_ptr.h: Likewise.

From-SVN: r144778
parent 5df9ac4b
2009-03-11 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/bits/shared_ptr.h: Add include guards.
* include/tr1/shared_ptr.h: Likewise.
2009-03-11 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/std/iostream: Fix doxygen link.
* include/bits/forward_list.h: Fix doxygen markup.
* include/ext/vstring.h: Escape backslash in doxygen comment.
......
......@@ -51,6 +51,9 @@
* You should not attempt to use it directly.
*/
#ifndef _SHARED_PTR_H
#define _SHARED_PTR_H 1
#ifndef __GXX_EXPERIMENTAL_CXX0X__
# include <c++0x_warning.h>
#endif
......@@ -1589,3 +1592,5 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
// @} group pointer_abstractions
_GLIBCXX_END_NAMESPACE
#endif // _SHARED_PTR_H
......@@ -51,6 +51,9 @@
* You should not attempt to use it directly.
*/
#ifndef _TR1_SHARED_PTR_H
#define _TR1_SHARED_PTR_H 1
#if defined(_GLIBCXX_INCLUDE_AS_CXX0X)
# error TR1 header cannot be included from C++0x header
#endif
......@@ -1018,3 +1021,5 @@ namespace tr1
}
}
#endif // _TR1_SHARED_PTR_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment