DGtal-team/DGtal — pull request #474 by troussil (2012-11-14 15:56:25+00:00)
Title: new smart pointer for class member

This class describes a smart pointer that is,
given the constructor called by the user,
either an alias pointer on existing data
or an owning pointer on a copy.

Such a pointer may be used for a (big) member of class,
which can be either given at construction (aliasing pointer)
or default-constructed (owning pointer).

Such a pointer may be also used to make the user be able to decide
whether the data should be copied (owning pointer) or not (aliasing pointer).