------- Comment #2 from fang at csl dot cornell dot edu  2008-09-27 22:09 
-------
With the test case, I get the same diagnostic with g++-4.3.2.
I'm not sure if the in-class using directive is supposed to work as you
expected, but what I usually write is (using your example):

template<class X> class B: A<X>{
public:
        typedef typename A<X>::o_t   o_t;
        B(){typename o_t::type_t x;}
};

... which compiles for me.  


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37140

Reply via email to