Add const handle concept.

This commit is contained in:
Guillaume Damiand 2015-08-31 17:21:58 +02:00
parent 17ff67f454
commit 816dda0c23
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
/*!
\ingroup PkgHandlesAndCirculatorsConcepts
\cgalConcept
A constant handle. Refer to the `Handle` concept for more details.
\cgalRefines Descriptor
\cgalHasModel const T* (const pointers)
\sa `Handle`
*/
class ConstHandle {
public:
/// \name Dereference
/// @{
/*!
returns the object pointed to.
*/
const value_type& operator*();
/*!
returns a pointer to the object pointed to.
*/
const value_type* operator->();
/// @}
}; /* end Handle */