31#if defined(OwningOrAliasingPtr_RECURSES)
32#error Recursive header files inclusion detected in OwningOrAliasingPtr.h
35#define OwningOrAliasingPtr_RECURSES
37#if !defined OwningOrAliasingPtr_h
39#define OwningOrAliasingPtr_h
44#include "DGtal/base/Common.h"
194 template <
typename T>
203#include "DGtal/base/OwningOrAliasingPtr.ih"
210#undef OwningOrAliasingPtr_RECURSES
Aim: This class describes a smart pointer that is, given the constructor called by the user,...
OwningOrAliasingPtr(Pointer aPtr, bool isOwning=false)
Pointer operator->() const
OwningOrAliasingPtr(const T &aValue)
OwningOrAliasingPtr & operator=(const OwningOrAliasingPtr &other)
BOOST_CONCEPT_ASSERT((boost::CopyConstructible< T >))
Reference operator*() const
void selfDisplay(std::ostream &out) const
OwningOrAliasingPtr(const OwningOrAliasingPtr &other)
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
Go to http://www.sgi.com/tech/stl/CopyConstructible.html.