[Issue 2733] Unclear semantics of template value parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 1 02:53:14 PDT 2009


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


smjg at iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com




------- Comment #1 from smjg at iname.com  2009-04-01 04:53 -------
Non-alias template arguments are, by definition, compile-time constants.  s
isn't a compile-time constant - it's a mutable reference to immutable data.  So
this shouldn't compile.


-- 



More information about the Digitalmars-d-bugs mailing list