------- Comment #2 from eric dot niebler at gmail dot com 2007-04-27 21:24 ------- Yep, thanks. According to Doug Gregor, this case is covered in the first para of [basic.scope.class]. My bad. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31730