Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changeset 1366

Show
Ignore:
Timestamp:
12/06/09 09:15:21 (15 years ago)
Author:
walter
Message:

bugzilla 3580

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/docsrc/features2.dd

    r1323 r1366  
    1010    in converting source code. 
    1111    ) 
    1212 
    1313$(SECTION2 Core Language Changes, 
    1414 
    1515$(UL 
    1616    $(LI $(CODE opAssign) can no longer be overloaded for class objects.) 
    1717    $(LI Added $(CODE pure) keyword.) 
    1818    $(LI Extended $(LINK2 enum.html, enums) to allow declaration 
    1919     of manifest constants.) 
    20     $(LI Added $(LINK2 struct.html#ConstStruct, const/invariant structs), 
     20    $(LI Added $(LINK2 struct.html#ConstStruct, const/immutable structs), 
    2121     $(LINK2 class.html#ConstClass, classes) and 
    2222     $(LINK2 interface.html#ConstInterface, interfaces).) 
    23     $(LI Added $(CODE const) and $(CODE invariant) to $(LINK2 expression.html#IsExpression, $(I IsExpression))s.) 
     23    $(LI Added $(CODE const) and $(CODE immutable) to $(LINK2 expression.html#IsExpression, $(I IsExpression))s.) 
    2424    $(LI Added $(CODE typeof(return)) type specifier.) 
    2525    $(LI Added overloadable unary * operation as $(CODE opStar()).) 
    2626    $(LI Full closure support added.) 
    2727    $(LI Transformed all of $(CODE string), $(CODE wstring), 
    28     and $(CODE dstring) into invariant definitions). 
     28    and $(CODE dstring) into immutable definitions). 
    2929    $(LI Added $(LINK2 function.html#overload-sets, Overload Sets) for functions and templates.) 
    3030    $(LI $(TT std.math.sin), $(TT cos), $(TT tan) are now evaluated at 
    3131    compile time if the argument is a constant.)  
    3232    $(LI Added $(LINK2 cpp_interface.html, C++ interface) for 'plugins'.) 
    3333    $(LI Changed result type of 
    3434     $(LINK2 expression.html#IsExpression, $(I IsExpression)) 
    3535     from $(CODE int) to $(CODE bool).) 
    3636    $(LI Added optional $(I TemplateParameterList) to $(LINK2 expression.html#IsExpression, $(I IsExpression)).) 
    3737    $(LI Added warning when $(CODE override) is omitted.) 
    3838    $(LI Added new syntax for string literals (delimited, heredoc, D tokens)) 
    3939    $(LI Added $(CODE __EOF__) token) 
    4040    $(LI Added $(LINK2 version.html#PredefinedVersions, $(B D_Version2)) 
    4141     predefined identifier to indicate this is a D version 2.0 compiler) 
    42     $(LI Added $(CODE .idup) property for arrays to create invariant 
     42    $(LI Added $(CODE .idup) property for arrays to create immutable 
    4343    copies.) 
    44     $(LI Added transitive const and invariant.) 
     44    $(LI Added transitive const and immutable.) 
    4545    $(LI $(CODE in) parameter storage class now means scope const.) 
    4646    $(LI class and struct invariant declarations now must have a ().) 
    4747    $(LI Added $(CODE isSame) and $(CODE compiles) to $(D_KEYWORD __traits).) 
    4848    $(LI Added $(LINK2 statement.html#ForeachRangeStatement, ForeachRangeStatement)). 
    4949) 
    5050 
    5151) 
    5252 
    5353$(SECTION2 Phobos Library Changes, 
    5454