[Issue 1983] Big Hole in Const System

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 10 03:55:32 PDT 2008


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


fvbommel at wxs.nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
         OS/Version|Windows                     |All




------- Comment #1 from fvbommel at wxs.nl  2008-04-10 05:55 -------
IMHO the problem here isn't the type of (&a.x) but the fact that it's allowed
to compile at all. Creating a delegate to a non-const member function of a
const object should be a compile-time error.


-- 



More information about the Digitalmars-d-bugs mailing list