pike.git
/
CHANGES
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/CHANGES:7:
o Unlimited character constant size. There is no longer any limit to the size of character constants, e.g. 'acdefghijk' creates the bignum 0x61636465666768696a6b. o 'auto' type added. This is much like a strict typed mixed. The actual type is deduced compile-time.
-
The
main
use
case
is as variables in foreach when looping over
-
complexly typed values, or as
types
in macro-defined functions and
-
such
.
+
Typical
use is as
the type for
variables in foreach when looping over
+
complexly typed values, or as
the
type
in macro-defined functions and
+
similar
.
auto can be used as return type for a function, it will be the logical or of all the types of the return statements in the function. o typeof(X) can now be used as a type. The main use case is in macros, but it might be useful for other things as well (as an example in a typedef).