Use object_cast instead of assign

This commit is contained in:
Sylvain Pion 2008-07-29 11:58:44 +00:00
parent 0f244d2ccb
commit 7757dda09e
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ The following piece of code is taken from the above \cgal\ intersection routine:
There is only one member operation defined for \ccc{Object}, a test for There is only one member operation defined for \ccc{Object}, a test for
an empty object. In order to make use of the returned object, an empty object. In order to make use of the returned object,
you can try to assign it to the possible return types using you can try to assign it to the possible return types using
\ccc{CGAL::assign(Candidate_return_type, Object)}\ccIndexGlobalFunction{assign} \ccc{CGAL::object_cast}
function; see also the definition of the class function; see also the definition of the class
\ccAnchor{http://www.cgal.org/Manual/doc_html/kernel/Class_Object.html}{\ccc{Object}} in the \ccAnchor{http://www.cgal.org/Manual/doc_html/kernel/Class_Object.html}{\ccc{Object}} in the
\cgal\ kernel manual. \cgal\ kernel manual.