comparison doc/misc/html/oldclasslib/util.html @ 0:13d2b8934445

Import AnaGram (near-)release tree into Mercurial.
author David A. Holland
date Sat, 22 Dec 2007 17:52:45 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:13d2b8934445
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE>Utility Array Definitions</TITLE>
5 </HEAD>
6
7
8 <BODY BGCOLOR="#ffffff" BACKGROUND="tilbl6h.gif"
9 TEXT="#000000" LINK="#0033CC"
10 VLINK="#CC0033" ALINK="#CC0099">
11
12 <P>
13 <IMG ALIGN="right" SRC="../images/agrsl6c.gif" ALT="AnaGram"
14 WIDTH=124 HEIGHT=30 >
15 <BR CLEAR="all">
16 Back to :
17 <A HREF="../index.html">Index</A> |
18 <A HREF="index.html">Class libraries for examples</A>
19 <P>
20
21 <IMG ALIGN="bottom" SRC="../images/rbline6j.gif" ALT="----------------------"
22 WIDTH=1010 HEIGHT=2 >
23 <P>
24
25 <H1>Utility Array Definitions</H1>
26 <IMG ALIGN="bottom" SRC="../images/rbline6j.gif" ALT="----------------------"
27 WIDTH=1010 HEIGHT=2 >
28 <P>
29 <BR>
30 <tt>util.h</tt> defines one simple template class and three simple
31 template functions which simplify dealing with arrays of an
32 arbitrary type T.
33 <P>
34 The functions are "copy", "clear" and "memdup". The purpose
35 of these functions is to allow you to move, set to zero, or
36 duplicate an array without explicit mention of the size of
37 the array elements.
38 <P>
39 The class "protect" is designed to save the content of an
40 array on entry to a function and restore it on exit.
41
42 <P>
43 <BR>
44
45
46 <IMG ALIGN="bottom" SRC="../images/rbline6j.gif" ALT="----------------------"
47 WIDTH=1010 HEIGHT=2 >
48 <P>
49 <IMG ALIGN="right" SRC="../images/pslrb6d.gif" ALT="Parsifal Software"
50 WIDTH=181 HEIGHT=25>
51 <BR CLEAR="right">
52
53 <P>
54 Back to :
55 <A HREF="../index.html">Index</A> |
56 <A HREF="index.html">Class libraries for examples</A>
57
58 <P>
59
60 <ADDRESS><FONT SIZE="-1">
61 AnaGram parser generator - examples<BR>
62 Class libraries - Utility array definitions<BR>
63 Copyright &copy; 1993-1999, Parsifal Software. <BR>
64 All Rights Reserved.<BR>
65 </FONT></ADDRESS>
66
67 </BODY>
68 </HTML>