32#ifndef SACADO_HANDLE_HPP
33#define SACADO_HANDLE_HPP
117 template <
typename T>
119 return h1.
get() == h2.
get();
const T & operator*() const
Dereference.
T * operator->() const
Dereference.
int * count
Reference count.
void Assign(const Handle &h)
Assign to handle h as its own copy.
Handle(T *p)
Create new handle from pointer p.
const T * get() const
Return pointer to underlying data.
Handle(const Handle &h)
Copy handle.
void makeOwnCopy()
Make handle have its own copy of rep.
T * get()
Return pointer to underlying data.
Handle & operator=(const Handle &h)
Assignment operator.
void decrementRef()
Decrement reference.
bool operator==(const Handle< T > &h1, const Handle< T > &h2)
Compare two handles.