CNORXZ
Container with Native Operation Routines and Expressions
Loading...
Searching...
No Matches
obj_handle.h
Go to the documentation of this file.
1// -*- C++ -*-
15#ifndef __cxz_obj_handle_h__
16#define __cxz_obj_handle_h__
17
18#include "types.h"
19
20namespace CNORXZ
21{
22
33 template <typename T>
35 {
36 protected:
39 public:
40
42 ObjHandle();
43
47 ObjHandle(Uptr<T>&& a);
48
52 ObjHandle(const ObjHandle& a);
53
58
62 ObjHandle& operator=(const ObjHandle& a);
63
68
70 T& operator*();
71
73 T* operator->();
74
76 const T& operator*() const;
77
79 const T* operator->() const;
80 };
81
82}
83
84#endif
ObjHandle & operator=(const ObjHandle &a)
std::unique_ptr< T > Uptr
Definition types.h:54
Sptr< Range > rangeCast(const RangePtr r)
Declaration of all library types.