gcc 3.4.2 and template issue
I want to compile the following code segment:
Code:
However gcc produced these error messages: Code:
tset.h: In member function `const T* VE::tset<S, T>::Find(const S&): Any idea on how to solve this problem is appreciated |
This code compiles using gcc 3.3.3. It may work for your version too, but you may encounter problems because the gcc 3.4.x series is more standard compliant than gcc 3.3.* is and will balk one some invalid code that earlier versions accepted.
Code:
#include <set> |
All times are GMT -5. The time now is 11:27 PM. |