------- Comment #2 from pinskia at gcc dot gnu dot org 2010-03-15 16:38 ------- The first example is done on purpose as the class is std:: deque<int> which is a template class which is on a fundamental type which is always going to be visible. (See PR 19664 for the reasons why).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43376