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



--- Comment #1 from Don <clugd...@yahoo.com.au> 2012-03-15 22:40:16 PDT ---
It's because it doesn't try to const fold it. In this case,
the init value is constant, so it could possibly work. In other cases,
it could be initialized from something non-constant (eg, a function
parameter). Regardless, it should say that it's not constant, rather
than just that it's not a valid template parameter.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to