------- Comment #4 from dgregor at gcc dot gnu dot org 2008-01-28 23:40 ------- There are some problems with the example code. For example, the expression max<T, Params> does not expand the parameter pack "Params". The compiler should have warned you about this, both in this case and in the static_assert case.
-- dgregor at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rejects-valid |error-recovery, ice-on- | |invalid-code Summary|gcc doesn't accept const |gcc doesn't accept const |members of variadic |members of variadic |templates as const |templates as const | |(regression) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34219