------- Comment #1 from rguenth at gcc dot gnu dot org 2007-12-13 15:19 ------- You have to explicitly mark value as a dependent type to defer name-lookup to the second stage. Either qualify as you did or use 'this->value'.
-- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34453