Whole document tree
4.6 Naming an Expression's Type
You can give a name to the type of an expression using a
This is useful in conjunction with the statements-within-expressions feature. Here is how the two together can be used to define a safe "maximum" macro that operates on any arithmetic type:
The reason for using names that start with underscores for the local
variables is to avoid conflicts with variable names that occur within the
expressions that are substituted for This document was generated by root on January, 30 2002 using texi2html |