mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +00:00
Some missing from merge.
Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
parent
ec939a5bce
commit
f4be15a7af
1895 changed files with 160408 additions and 53601 deletions
|
|
@ -4,6 +4,8 @@
|
|||
/**
|
||||
* @file Bound_Ptr.h
|
||||
*
|
||||
* $Id: Bound_Ptr.h 82723 2008-09-16 09:35:44Z johnnyw $
|
||||
*
|
||||
* @author Christopher Kohlhoff <chris@kohlhoff.com>
|
||||
* @author Boris Kolpackov <boris@codesynthesis.com>
|
||||
*/
|
||||
|
|
@ -20,9 +22,7 @@
|
|||
# pragma once
|
||||
#endif /* ACE_LACKS_PRAGMA_ONCE */
|
||||
|
||||
#if !defined (ACE_HAS_CPP11)
|
||||
# include "ace/Auto_Ptr.h"
|
||||
#endif /* !ACE_HAS_CPP11 */
|
||||
#include "ace/Auto_Ptr.h"
|
||||
|
||||
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
|
|
@ -116,11 +116,9 @@ public:
|
|||
/// object \<p\> immediately.
|
||||
explicit ACE_Strong_Bound_Ptr (X *p = 0);
|
||||
|
||||
#if !defined (ACE_HAS_CPP11)
|
||||
/// Constructor that initializes an ACE_Strong_Bound_Ptr by stealing
|
||||
/// ownership of an object from an auto_ptr.
|
||||
explicit ACE_Strong_Bound_Ptr (auto_ptr<X> p);
|
||||
#endif /* !ACE_HAS_CPP11 */
|
||||
|
||||
/// Copy constructor binds @c this and @a r to the same object.
|
||||
ACE_Strong_Bound_Ptr (const ACE_Strong_Bound_Ptr<X, ACE_LOCK> &r);
|
||||
|
|
@ -218,12 +216,10 @@ public:
|
|||
/// underlying object.
|
||||
void reset (X *p = 0);
|
||||
|
||||
#if !defined (ACE_HAS_CPP11)
|
||||
/// Resets the ACE_Strong_Bound_Ptr to refer to a different
|
||||
/// underlying object, ownership of which is stolen from the
|
||||
/// auto_ptr.
|
||||
void reset (auto_ptr<X> p);
|
||||
#endif /* !ACE_HAS_CPP11 */
|
||||
|
||||
/// Allows us to check for NULL on all ACE_Strong_Bound_Ptr
|
||||
/// objects.
|
||||
|
|
@ -385,17 +381,7 @@ private:
|
|||
|
||||
ACE_END_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
#if defined (__ACE_INLINE__)
|
||||
#include "ace/Bound_Ptr.inl"
|
||||
#endif /* __ACE_INLINE__ */
|
||||
|
||||
#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
|
||||
#include "ace/Bound_Ptr.cpp"
|
||||
#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */
|
||||
|
||||
#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
|
||||
#pragma implementation ("Bound_Ptr.cpp")
|
||||
#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
|
||||
|
||||
#include /**/ "ace/post.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue