From: Bruno Haible Date: Thu, 18 Nov 2004 12:16:11 +0000 (+0000) Subject: Add index entry for 'cast'. X-Git-Tag: cln_1-1-10~44 X-Git-Url: https://www.ginac.de/CLN/cln.git//cln.git?a=commitdiff_plain;h=2691282fd91d682114fc954f30d04b5fe32c7e56;p=cln.git Add index entry for 'cast'. --- diff --git a/doc/cln.tex b/doc/cln.tex index ca38672..146f81b 100644 --- a/doc/cln.tex +++ b/doc/cln.tex @@ -775,6 +775,7 @@ Conversions from any class to any of its subclasses (``derived classes'' in C++ terminology) are not provided. Instead, you can assert and check that a value belongs to a certain subclass, and return it as element of that class, using the @samp{As} and @samp{The} macros. +@cindex cast @cindex @code{As()()} @code{As(@var{type})(@var{value})} checks that @var{value} belongs to @var{type} and returns it as such.