[Issue 1961] Allow "scoped const" contracts

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 2 07:00:31 PST 2008


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


fawzi at gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|noshiika at gmail.com          |




------- Comment #14 from fawzi at gmx.ch  2008-12-02 09:00 -------
an obvious possible drawback is code bloat.

If the function that extract/modify the constness are used it is difficult for
the compiler to decide if just one template per base type can be instantiated,
or a different instantiation for each constness variation is needed.


-- 



More information about the Digitalmars-d-bugs mailing list