[Bug c++/19288] No more possible to have a template function that uses a nested class of a template class

2005-01-09 Thread jean-pierre dot chevallet at imag dot fr
--- Additional Comments From jean-pierre dot chevallet at imag dot fr 2005-01-10 05:56 --- (In reply to comment #7) > You are trying to overload operator<<(std::ostream, float). That > can't work, since there is already an overload for that. > > W. I d

[Bug c++/19288] No more possible to have a template function that uses a nested class of a template class

2005-01-09 Thread jean-pierre dot chevallet at imag dot fr
--- Additional Comments From jean-pierre dot chevallet at imag dot fr 2005-01-10 03:04 --- (In reply to comment #3) > Giving explicit template arguments for template operators works > the same way: write > x.operator<< (abc) > instead of > x << abc

[Bug c++/19288] No more possible to have a template function that uses a nested class of a template class

2005-01-06 Thread jean-pierre dot chevallet at imag dot fr
--- Additional Comments From jean-pierre dot chevallet at imag dot fr 2005-01-06 13:44 --- Subject: RE: No more possible to have a template function that uses a nested class of a template class Thank you very much for your answer, and I'm very impressed : you have answer very q

[Bug c++/19288] New: No more possible to have a template function that uses a nested class of a template class

2005-01-06 Thread jean-pierre dot chevallet at imag dot fr
#include using namespace std; template class C1 { public: T V; C1(T v) : V(v) {}; class nested { public: T W; nested(T w) : W(w) {}; }; }; // This works well template T f1 ( C1& c) { return c.V; } // the problem is HERE template T f2 ( typename C1::nested& c) { ret