- .size
+ | .sizeof
| Returns the size of the reference to the associative
array; it is typically 8.
diff -uNr dmd-0.148/dmd/html/d/attribute.html dmd-0.149/dmd/html/d/attribute.html
--- dmd-0.148/dmd/html/d/attribute.html 2006-02-25 11:48:36.000000000 +0100
+++ dmd-0.149/dmd/html/d/attribute.html 2006-03-03 08:22:12.000000000 +0100
@@ -25,7 +25,7 @@
| Comments
- Last update Sat Feb 25 11:48:34 2006
+ Last update Fri Mar 3 08:22:10 2006
diff -uNr dmd-0.148/dmd/html/d/builtin.html dmd-0.149/dmd/html/d/builtin.html
--- dmd-0.148/dmd/html/d/builtin.html 2006-02-25 11:48:38.000000000 +0100
+++ dmd-0.149/dmd/html/d/builtin.html 2006-03-03 08:22:14.000000000 +0100
@@ -25,7 +25,7 @@
| Comments
- Last update Sat Feb 25 11:48:36 2006
+ Last update Fri Mar 3 08:22:13 2006
diff -uNr dmd-0.148/dmd/html/d/changelog.html dmd-0.149/dmd/html/d/changelog.html
--- dmd-0.148/dmd/html/d/changelog.html 2006-02-25 18:09:16.000000000 +0100
+++ dmd-0.149/dmd/html/d/changelog.html 2006-03-07 13:36:56.000000000 +0100
@@ -25,7 +25,7 @@
| Comments
- Last update Sat Feb 25 18:09:14 2006
+ Last update Tue Mar 7 13:36:54 2006
@@ -149,6 +149,9 @@
· digitalmars.D.announce
+ · digitalmars.D.dwt
+
+
· digitalmars.D.learn
@@ -171,6 +174,8 @@
+ - What's new for D 0.149
+
- What's new for D 0.148
- What's new for D 0.147
@@ -378,6 +383,40 @@
+
+
+
+Mar 7, 2006
+
+
+ New/Changed Features
+
+ - Changed on_scope_exit to scope(exit)
+ - Changed on_scope_success to scope(success)
+ - Changed on_scope_failure to scope(failure)
+ - Changed IfStatement to allow: (auto v = expression),
+ and (type v = expression) forms.
+ - & | ^ &= |= ^= ! && || ?: are now only
+ operators allowed on bools
+ - opSliceAssign now overloads assignment to a slice.
+ - Added std.c.fenv.
+ - Added limited support for implicit function template instantiation.
+
+
+Bugs Fixed
+
+ - Fixed bit problem with phobos\internal\gc\gcbits.d
+ - Fixed D.bugs/6399
+ - Fixed D.bugs/6419
+ - Implicit casts of non-bool to bool disallowed
+ - Fixed code gen bugs for OnScopeStatements.
+
+
+
+
What's New for
D 0.148
diff -uNr dmd-0.148/dmd/html/d/class.html dmd-0.149/dmd/html/d/class.html
--- dmd-0.148/dmd/html/d/class.html 2006-02-25 11:48:36.000000000 +0100
+++ dmd-0.149/dmd/html/d/class.html 2006-03-03 08:22:12.000000000 +0100
@@ -25,7 +25,7 @@
| Comments
- Last update Sat Feb 25 11:48:34 2006
+ Last update Fri Mar 3 08:22:11 2006
@@ -835,7 +835,7 @@
...
-new(1,2) Foo(a); // calls new(Foo.size,1,2)
+new(1,2) Foo(a); // calls new(Foo.sizeof,1,2)
Derived classes inherit any allocator from their base class,
diff -uNr dmd-0.148/dmd/html/d/code_coverage.html dmd-0.149/dmd/html/d/code_coverage.html
--- dmd-0.148/dmd/html/d/code_coverage.html 2006-02-25 11:48:38.000000000 +0100
+++ dmd-0.149/dmd/html/d/code_coverage.html 2006-03-03 08:22:14.000000000 +0100
@@ -24,7 +24,7 @@
| D
| Comments
- Last update Sat Feb 25 11:48:36 2006
+ Last update Fri Mar 3 08:22:13 2006
@@ -148,6 +148,9 @@
· digitalmars.D.announce
+ · digitalmars.D.dwt
+
+
· digitalmars.D.learn
diff -uNr dmd-0.148/dmd/html/d/comparison.html dmd-0.149/dmd/html/d/comparison.html
--- dmd-0.148/dmd/html/d/comparison.html 2006-02-25 17:37:14.000000000 +0100
+++ dmd-0.149/dmd/html/d/comparison.html 2006-03-07 13:37:44.000000000 +0100
@@ -24,7 +24,7 @@
| D
| Comments
- Last update Sat Feb 25 17:37:12 2006
+ Last update Tue Mar 7 13:37:43 2006
@@ -85,6 +85,10 @@
D
vs Other Languages
+
+ To D, or not to D. -- Willeam NerdSpeare
+
+
This table is a quick and rough comparison of various features of
D
diff -uNr dmd-0.148/dmd/html/d/cppcomplex.html dmd-0.149/dmd/html/d/cppcomplex.html
--- dmd-0.148/dmd/html/d/cppcomplex.html 2006-02-25 11:48:34.000000000 +0100
+++ dmd-0.149/dmd/html/d/cppcomplex.html 2006-03-03 08:22:12.000000000 +0100
@@ -25,7 +25,7 @@
| Comments
- Last update Sat Feb 25 11:48:33 2006
+ Last update Fri Mar 3 08:22:10 2006
diff -uNr dmd-0.148/dmd/html/d/cppdbc.html dmd-0.149/dmd/html/d/cppdbc.html
--- dmd-0.148/dmd/html/d/cppdbc.html 2006-02-25 11:48:34.000000000 +0100
+++ dmd-0.149/dmd/html/d/cppdbc.html 2006-03-03 08:22:12.000000000 +0100
@@ -25,7 +25,7 @@
| Comments
- Last update Sat Feb 25 11:48:33 2006
+ Last update Fri Mar 3 08:22:10 2006
diff -uNr dmd-0.148/dmd/html/d/cppstrings.html dmd-0.149/dmd/html/d/cppstrings.html
--- dmd-0.148/dmd/html/d/cppstrings.html 2006-02-25 11:48:34.000000000 +0100
+++ dmd-0.149/dmd/html/d/cppstrings.html 2006-03-03 08:22:12.000000000 +0100
@@ -26,7 +26,7 @@
" title="Read/write comments and feedback">Comments
- Last update Sat Feb 25 11:48:33 2006
+ Last update Fri Mar 3 08:22:10 2006
diff -uNr dmd-0.148/dmd/html/d/cpptod.html dmd-0.149/dmd/html/d/cpptod.html
--- dmd-0.148/dmd/html/d/cpptod.html 2006-02-25 11:48:34.000000000 +0100
+++ dmd-0.149/dmd/html/d/cpptod.html 2006-03-03 08:22:12.000000000 +0100
@@ -25,7 +25,7 @@
| Comments
- Last update Sat Feb 25 11:48:33 2006
+ Last update Fri Mar 3 08:22:09 2006
diff -uNr dmd-0.148/dmd/html/d/ctod.html dmd-0.149/dmd/html/d/ctod.html
--- dmd-0.148/dmd/html/d/ctod.html 2006-02-25 11:48:34.000000000 +0100
+++ dmd-0.149/dmd/html/d/ctod.html 2006-03-07 13:40:12.000000000 +0100
@@ -22,11 +22,11 @@
Home
| Search
| D
- | Comments
- Last update Sat Feb 25 11:48:33 2006
+ Last update Tue Mar 7 13:40:11 2006
@@ -86,6 +86,10 @@
Programming in D for C Programmers
+
+Et tu, D? Then fall, C! -- William Nerdspeare
+
+
Every experienced C programmer accumulates a series of idioms and techniques
@@ -163,10 +167,10 @@
Use the size property:
- int.size
- (char *).size
- double.size
- Foo.size
+ int.sizeof
+ (char *).sizeof
+ double.sizeof
+ Foo.sizeof
diff -uNr dmd-0.148/dmd/html/d/dbc.html dmd-0.149/dmd/html/d/dbc.html
--- dmd-0.148/dmd/html/d/dbc.html 2006-02-25 11:48:36.000000000 +0100
+++ dmd-0.149/dmd/html/d/dbc.html 2006-03-03 08:22:12.000000000 +0100
@@ -25,7 +25,7 @@
| Comments
- Last update Sat Feb 25 11:48:34 2006
+ Last update Fri Mar 3 08:22:11 2006
diff -uNr dmd-0.148/dmd/html/d/dcompiler.html dmd-0.149/dmd/html/d/dcompiler.html
--- dmd-0.148/dmd/html/d/dcompiler.html 2006-02-25 11:48:36.000000000 +0100
+++ dmd-0.149/dmd/html/d/dcompiler.html 2006-03-03 08:22:14.000000000 +0100
@@ -25,7 +25,7 @@
| Comments
- Last update Sat Feb 25 11:48:35 2006
+ Last update Fri Mar 3 08:22:13 2006
@@ -149,6 +149,9 @@
· digitalmars.D.announce
+ · digitalmars.D.dwt
+
+
· digitalmars.D.learn
diff -uNr dmd-0.148/dmd/html/d/ddoc.html dmd-0.149/dmd/html/d/ddoc.html
--- dmd-0.148/dmd/html/d/ddoc.html 2006-02-25 11:48:38.000000000 +0100
+++ dmd-0.149/dmd/html/d/ddoc.html 2006-03-03 08:22:14.000000000 +0100
@@ -24,7 +24,7 @@
| D
| Comments
- Last update Sat Feb 25 11:48:36 2006
+ Last update Fri Mar 3 08:22:13 2006
diff -uNr dmd-0.148/dmd/html/d/declaration.html dmd-0.149/dmd/html/d/declaration.html
--- dmd-0.148/dmd/html/d/declaration.html 2006-02-25 11:48:36.000000000 +0100
+++ dmd-0.149/dmd/html/d/declaration.html 2006-03-03 08:22:12.000000000 +0100
@@ -25,7 +25,7 @@
| Comments
- Last update Sat Feb 25 11:48:33 2006
+ Last update Fri Mar 3 08:22:10 2006
diff -uNr dmd-0.148/dmd/html/d/dlinks.html dmd-0.149/dmd/html/d/dlinks.html
--- dmd-0.148/dmd/html/d/dlinks.html 2006-02-25 11:48:34.000000000 +0100
+++ dmd-0.149/dmd/html/d/dlinks.html 2006-03-07 13:59:44.000000000 +0100
@@ -24,7 +24,7 @@
| D
| Comments
- Last update Sat Feb 25 11:48:33 2006
+ Last update Tue Mar 7 13:59:42 2006
@@ -148,6 +148,9 @@
· digitalmars.D.announce
+ · digitalmars.D.dwt
+
+
· digitalmars.D.learn
@@ -301,6 +304,8 @@
- Indigo
container classes
+
+
- GLee D (OpenGL 2.0).
Games
@@ -365,6 +370,11 @@
+Forums, Blogs
+
+
+
Miscellaneous
diff -uNr dmd-0.148/dmd/html/d/dll.html dmd-0.149/dmd/html/d/dll.html
--- dmd-0.148/dmd/html/d/dll.html 2006-02-25 11:48:36.000000000 +0100
+++ dmd-0.149/dmd/html/d/dll.html 2006-03-03 08:22:14.000000000 +0100
@@ -24,7 +24,7 @@
| D
| Comments
- Last update Sat Feb 25 11:48:35 2006
+ Last update Fri Mar 3 08:22:12 2006
@@ -148,6 +148,9 @@
· digitalmars.D.announce
+ · digitalmars.D.dwt
+
+
· digitalmars.D.learn
diff -uNr dmd-0.148/dmd/html/d/dstyle.html dmd-0.149/dmd/html/d/dstyle.html
--- dmd-0.148/dmd/html/d/dstyle.html 2006-02-25 11:48:36.000000000 +0100
+++ dmd-0.149/dmd/html/d/dstyle.html 2006-03-03 08:22:14.000000000 +0100
@@ -25,7 +25,7 @@
| Comments
- Last update Sat Feb 25 11:48:35 2006
+ Last update Fri Mar 3 08:22:12 2006
@@ -149,6 +149,9 @@
· digitalmars.D.announce
+ · digitalmars.D.dwt
+
+
· digitalmars.D.learn
diff -uNr dmd-0.148/dmd/html/d/entity.html dmd-0.149/dmd/html/d/entity.html
--- dmd-0.148/dmd/html/d/entity.html 2006-02-25 11:48:36.000000000 +0100
+++ dmd-0.149/dmd/html/d/entity.html 2006-03-03 08:22:14.000000000 +0100
@@ -25,7 +25,7 @@
| Comments
- Last update Sat Feb 25 11:48:35 2006
+ Last update Fri Mar 3 08:22:12 2006
diff -uNr dmd-0.148/dmd/html/d/enum.html dmd-0.149/dmd/html/d/enum.html
--- dmd-0.148/dmd/html/d/enum.html 2006-02-25 11:48:36.000000000 +0100
+++ dmd-0.149/dmd/html/d/enum.html 2006-03-03 08:22:12.000000000 +0100
@@ -25,7 +25,7 @@
| Comments
- Last update Sat Feb 25 11:48:34 2006
+ Last update Fri Mar 3 08:22:11 2006
diff -uNr dmd-0.148/dmd/html/d/errors.html dmd-0.149/dmd/html/d/errors.html
--- dmd-0.148/dmd/html/d/errors.html 2006-02-25 11:48:36.000000000 +0100
+++ dmd-0.149/dmd/html/d/errors.html 2006-03-07 13:43:46.000000000 +0100
@@ -25,7 +25,7 @@
| Comments
- Last update Sat Feb 25 11:48:34 2006
+ Last update Tue Mar 7 13:43:45 2006
@@ -155,6 +155,10 @@
Error Handling in D
+
+I came, I coded, I crashed. -- Julius C'ster
+
+
All programs have to deal with errors. Errors are unexpected conditions that
are not part of the normal operation of a program. Examples of common errors
are:
@@ -323,6 +327,9 @@
consistent error messages for the same error between applications.
+Using exceptions to handle errors leads to another issue - how to write
+exception safe programs. Here's how.
+
|