Changeset 1366
- Timestamp:
- 12/06/09 09:15:21 (15 years ago)
- Files:
-
- trunk/docsrc/features2.dd (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/docsrc/features2.dd
r1323 r1366 10 10 in converting source code. 11 11 ) 12 12 13 13 $(SECTION2 Core Language Changes, 14 14 15 15 $(UL 16 16 $(LI $(CODE opAssign) can no longer be overloaded for class objects.) 17 17 $(LI Added $(CODE pure) keyword.) 18 18 $(LI Extended $(LINK2 enum.html, enums) to allow declaration 19 19 of manifest constants.) 20 $(LI Added $(LINK2 struct.html#ConstStruct, const/i nvariantstructs),20 $(LI Added $(LINK2 struct.html#ConstStruct, const/immutable structs), 21 21 $(LINK2 class.html#ConstClass, classes) and 22 22 $(LINK2 interface.html#ConstInterface, interfaces).) 23 $(LI Added $(CODE const) and $(CODE i nvariant) to $(LINK2 expression.html#IsExpression, $(I IsExpression))s.)23 $(LI Added $(CODE const) and $(CODE immutable) to $(LINK2 expression.html#IsExpression, $(I IsExpression))s.) 24 24 $(LI Added $(CODE typeof(return)) type specifier.) 25 25 $(LI Added overloadable unary * operation as $(CODE opStar()).) 26 26 $(LI Full closure support added.) 27 27 $(LI Transformed all of $(CODE string), $(CODE wstring), 28 and $(CODE dstring) into i nvariantdefinitions).28 and $(CODE dstring) into immutable definitions). 29 29 $(LI Added $(LINK2 function.html#overload-sets, Overload Sets) for functions and templates.) 30 30 $(LI $(TT std.math.sin), $(TT cos), $(TT tan) are now evaluated at 31 31 compile time if the argument is a constant.) 32 32 $(LI Added $(LINK2 cpp_interface.html, C++ interface) for 'plugins'.) 33 33 $(LI Changed result type of 34 34 $(LINK2 expression.html#IsExpression, $(I IsExpression)) 35 35 from $(CODE int) to $(CODE bool).) 36 36 $(LI Added optional $(I TemplateParameterList) to $(LINK2 expression.html#IsExpression, $(I IsExpression)).) 37 37 $(LI Added warning when $(CODE override) is omitted.) 38 38 $(LI Added new syntax for string literals (delimited, heredoc, D tokens)) 39 39 $(LI Added $(CODE __EOF__) token) 40 40 $(LI Added $(LINK2 version.html#PredefinedVersions, $(B D_Version2)) 41 41 predefined identifier to indicate this is a D version 2.0 compiler) 42 $(LI Added $(CODE .idup) property for arrays to create i nvariant42 $(LI Added $(CODE .idup) property for arrays to create immutable 43 43 copies.) 44 $(LI Added transitive const and i nvariant.)44 $(LI Added transitive const and immutable.) 45 45 $(LI $(CODE in) parameter storage class now means scope const.) 46 46 $(LI class and struct invariant declarations now must have a ().) 47 47 $(LI Added $(CODE isSame) and $(CODE compiles) to $(D_KEYWORD __traits).) 48 48 $(LI Added $(LINK2 statement.html#ForeachRangeStatement, ForeachRangeStatement)). 49 49 ) 50 50 51 51 ) 52 52 53 53 $(SECTION2 Phobos Library Changes, 54 54
