
22 May
2008
22 May
'08
3:47 p.m.
Daniel Krügler wrote:
#include <utility>
template <typename> struct TT { typename std::pair
::first_type name() { return 0; } }; int main() { return TT<void>().name(); }
If the compiler does not accept the typename here, it is broken, which was the essence of my OP.
I see. Yeah, it was a bit hard to track what was going on with the OP's code.