recursive typedef

Posted by FredOverflow on Stack Overflow See other posts from Stack Overflow or by FredOverflow
Published on 2010-06-06T09:06:27Z Indexed on 2010/06/06 9:12 UTC
Read the original article Hit count: 179

Filed under:
|
|

Is the following allowed?

typedef Foo<Bar> Bar;

My compiler complains that 'class Bar' has a previous declaration as 'class Bar'.

© Stack Overflow or respective owner

Related posts about c++

Related posts about typedef