78 inline bool empty()
const;
81 inline bool valid()
const;
94 inline void reset(
T* =
nullptr);
115 inline operator const T&()
const;
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void operator=(T *)
Take over the object pointer from parameter.
bool valid() const
Return true if the UautoPtr valid (ie, the pointer is set)
T & operator*()
Return reference to the object data.
T * operator->()
Return object pointer.
T & operator()()
Return reference to the object data.
bool empty() const
Return true if the UautoPtr is empty (ie, no pointer set)
UautoPtr(T *=nullptr)
Store object pointer.
T * ptr()
Return object pointer for reuse.
void clear()
Set pointer to nullptr.
void reset(T *=nullptr)
Set pointer to that given.
void set(T *)
Set pointer to that given.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)