From 2691282fd91d682114fc954f30d04b5fe32c7e56 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 18 Nov 2004 12:16:11 +0000 Subject: [PATCH] Add index entry for 'cast'. --- doc/cln.tex | 1 + 1 file changed, 1 insertion(+) 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.