\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.10.1 - STL Extensions for CGAL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Compact_container_base Class Reference

#include <CGAL/Compact_container.h>

Definition

The class Compact_container_base can be used as a base class for your own type T, so that T can be used directly within Compact_container<T, Allocator>.

This class stores a void * pointer only for this purpose, so it may not be the most memory efficient way to achieve this goal. The other ways are to provide in T the necessary member functions so that the template Compact_container_traits<T> works, or to specialize it for the particular type T that you want to use.

Operations

void * for_compact_container () const
 Returns the pointer necessary for Compact_container_traits<T>.
 
void *& for_compact_container ()
 Returns a reference to the pointer necessary for Compact_container_traits<T>.