@(#)$Id: README,v 1.2 1997/01/05 01:51:06 leavens Exp $ This directory contains the Larch/C++ interface specification of some of the operations on the C++ built-in types. They make good simple examples of function specification, and also show how the Larch/C++ built-in traits are used. You might want to read short.lh first, then charArray.lh, and then charPointer.lh. The traits are found in ../../lib or in the LSL handbook. We don't specify the interfaces of every type here, because that would be repetitious. If you want to see what an intArray.lh would look like, change all the occurrences of ``char'' in charArray.lh to int. (By the way, one might be tempted to use C++ templates to specify all of the different kinds of Pointers, etc. at one fell swoop. But that would give the wrong interface, because a template has to be implemented by a template, whereas the built-in operators are merely overloaded, and not instantiated from a template.) Of course, we don't implement the stuff specified in this directory. See the code of your favorite C++ compiler for implementations.