smartPointer.hpp
Go to the documentation of this file.
T & operator*()
Method dereferencing pointer.
Definition: smartPointer.hpp:56
SmartPointer & operator=(const SmartPointer< T > &original)
Assignment operator.
Definition: smartPointer.hpp:44
const T * operator->() const
Method dereferencing pointer.
Definition: smartPointer.hpp:74
Definition: cadHoliday.cpp:3
bool isEmpty() const
Check if pointer owns any object.
Definition: smartPointer.hpp:80
T * data_ptr_
Pointer to data owned by pointer.
Definition: smartPointer.hpp:88
T * operator->()
Method dereferencing pointer.
Definition: smartPointer.hpp:68
SmartPointer()
Default constructor.
Definition: smartPointer.hpp:18
SmartPointer(const T &inner)
Constructor.
Definition: smartPointer.hpp:23
SmartPointer(const SmartPointer< T > &original)
Copy constructor.
Definition: smartPointer.hpp:34
const T & operator*() const
Method dereferencing pointer.
Definition: smartPointer.hpp:62