summaryrefslogtreecommitdiff
path: root/examples/IPC_SAP/UPIPE_SAP/auto_builtin_ptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/IPC_SAP/UPIPE_SAP/auto_builtin_ptr.h')
-rw-r--r--examples/IPC_SAP/UPIPE_SAP/auto_builtin_ptr.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/examples/IPC_SAP/UPIPE_SAP/auto_builtin_ptr.h b/examples/IPC_SAP/UPIPE_SAP/auto_builtin_ptr.h
deleted file mode 100644
index b8d82470d58..00000000000
--- a/examples/IPC_SAP/UPIPE_SAP/auto_builtin_ptr.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-template <class X>
-class auto_builtin_ptr
- // = TITLE
- // Implements an simple-minded auto_ptr abstraction for builtin types.
-{
-public:
- // = Initialization and termination methods
- auto_builtin_ptr (X *p = 0): p_ (p) {}
- ~auto_builtin_ptr (void) { delete [] this->p_; }
-
- // = Accessor methods.
- operator X * (void) const { return this->p_; }
-
-private:
- X *p_;
-};
-