This commit is contained in:
Sébastien Loriot 2013-07-09 07:35:24 +02:00
parent 6d12fd4710
commit 72c9c53a50
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ When the number of possible return types is limited (like in intersection), \cga
\ccAnchor{http://www.boost.org/libs/variant}{\ccc{boost::variant}} (together with \ccAnchor{http://www.boost.org/libs/optional}{\ccc{boost::optional}}
if emptiness needs to be covered). The intersection computation functors now use this mechanism and support the
the \ccc{result_of} protocol. The advantages of \ccAnchor{http://www.boost.org/libs/variant}{\ccc{boost::variant}} are that
the assignements are checked at compile time and that it is faster at runtime than the general polymorphic approach.
the assignments are checked at compile time and that it is faster at runtime than the general polymorphic approach.
An alternative is to use a class handling several output iterators at the same time such as the classes
\ccAnchor{http://www.cgal.org/Manual/latest/doc_html/cgal_manual/STL_Extension_ref/Class_Dispatch_output_iterator.html}{\ccc{Dispatch_output_iterator}}