[Issue 2159] Confusion between function call and C++ style function address

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 27 15:12:18 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2159


bugzilla at digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID




------- Comment #3 from bugzilla at digitalmars.com  2008-06-27 17:12 -------
This is not a language design problem, it is intended to work this way. The
fact that run() worked as an argument is because run() returns an int and one
of the constructors for Thread takes a size_t.


-- 



More information about the Digitalmars-d-bugs mailing list