summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/stl_construct.h
diff options
context:
space:
mode:
authorpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-27 21:41:36 +0000
committerpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-27 21:41:36 +0000
commit62de2d430ea7f0aa5d6ba2b48f95c9cbea5127f1 (patch)
tree0e3d7dd60cff63506900f69b03ab54b8c380f073 /libstdc++-v3/include/bits/stl_construct.h
parent474f6c191353e2bc9094d135a3c2a60adcf8de90 (diff)
downloadgcc-62de2d430ea7f0aa5d6ba2b48f95c9cbea5127f1.tar.gz
2002-03-27 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/Intro.3: Date tweak. * docs/doxygen/TODO: Update. * docs/doxygen/doxygroups.cc: Point to tables.html. * docs/doxygen/mainpage.html: Date tweak. * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over. * docs/doxygen/tables.html: Fill in the blanks. * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint. * include/bits/stl_algo.h: Likewise; use expanded form. * include/bits/stl_alloc.h: Likewise. * include/bits/stl_construct.h: Likewise. * include/bits/stl_deque.h: Likewise. * include/bits/stl_iterator_base_types.h: Likewise. * include/bits/stl_list.h: Likewise. * include/bits/stl_relops.h: Likewise. * include/bits/stl_tempbuf.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/std/std_memory.h: Likewise. * include/bits/stl_deque.h: Point into tables.html and add @ingroup. * include/bits/stl_list.h: Likewise. * include/bits/stl_vector.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51471 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/stl_construct.h')
-rw-r--r--libstdc++-v3/include/bits/stl_construct.h29
1 files changed, 13 insertions, 16 deletions
diff --git a/libstdc++-v3/include/bits/stl_construct.h b/libstdc++-v3/include/bits/stl_construct.h
index 51bd8a013e7..685913888c8 100644
--- a/libstdc++-v3/include/bits/stl_construct.h
+++ b/libstdc++-v3/include/bits/stl_construct.h
@@ -1,6 +1,6 @@
// nonstandard construct and destroy functions -*- C++ -*-
-// Copyright (C) 2001 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -67,10 +67,10 @@
namespace std
{
/**
- * @maint
+ * @if maint
* Constructs an object in existing memory by invoking an allocated
* object's constructor with an initializer.
- * @endmaint
+ * @endif
*/
template <class _T1, class _T2>
inline void
@@ -78,10 +78,10 @@ namespace std
{ new (static_cast<void*>(__p)) _T1(__value); }
/**
- * @maint
+ * @if maint
* Constructs an object in existing memory by invoking an allocated
* object's default constructor (no initializers).
- * @endmaint
+ * @endif
*/
template <class _T1>
inline void
@@ -89,11 +89,11 @@ namespace std
{ new (static_cast<void*>(__p)) _T1(); }
/**
- * @maint
+ * @if maint
* Destroy a range of objects with nontrivial destructors.
*
* This is a helper function used only by _Destroy().
- * @endmaint
+ * @endif
*/
template <class _ForwardIterator>
inline void
@@ -101,13 +101,13 @@ namespace std
{ for ( ; __first != __last; ++__first) _Destroy(&*__first); }
/**
- * @maint
+ * @if maint
* Destroy a range of objects with trivial destructors. Since the destructors
* are trivial, there's nothing to do and hopefully this function will be
* entirely optimized away.
*
* This is a helper function used only by _Destroy().
- * @endmaint
+ * @endif
*/
template <class _ForwardIterator>
inline void
@@ -115,9 +115,9 @@ namespace std
{ }
/**
- * @maint
+ * @if maint
* Destroy the object pointed to by a pointer type.
- * @endmaint
+ * @endif
*/
template <class _Tp>
inline void
@@ -125,11 +125,11 @@ namespace std
{ __pointer->~_Tp(); }
/**
- * @maint
+ * @if maint
* Destroy a range of objects. If the value_type of the object has
* a trivial destructor, the compiler should optimize all of this
* away, otherwise the objects' destructors must be invoked.
- * @endmaint
+ * @endif
*/
template <class _ForwardIterator>
inline void
@@ -146,6 +146,3 @@ namespace std
#endif /* _CPP_BITS_STL_CONSTRUCT_H */
-// Local Variables:
-// mode:C++
-// End: