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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 22 14:20:07 PDT 2008


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


bartosz at relisoft.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
          Component|Phobos                      |DMD
         Resolution|INVALID                     |
            Summary|Thread throws window        |Confusion between function
                   |exception upon termination  |call and C++ style function
                   |                            |address




------- Comment #2 from bartosz at relisoft.com  2008-06-22 16:20 -------
Then this is an even more serious language-design problem. Run was called
without me using the call syntax. This might be okay for no-argument methods,
but it's a bad idea for non-member functions, as my example illustrates. 


-- 



More information about the Digitalmars-d-bugs mailing list