View Full Version : Compilation error in using RWTPtrHashSet<T>& S

04-15-2013, 01:57 AM
RWTPtrHashSet<SpecialEvtCheckKey>& spEvtIndex

The above statement is giving the following error.
error: wrong number of template arguments (1, should be 4)
error: provided for ‚template<class T, class H, class EQ, class A> class RWTPtrHashSet‚

Compiler : g++
How to solve this ?

04-15-2013, 08:34 AM
What version of SourcePro are you working with? Red Hat?

From the docs it looks like you would need at least the first three arguments to initialize the template. Take a look at the example in the docs and see if that helps: http://www.roguewave.com/Portals/0/products/sourcepro/docs/12.0/html/sourceproref/classRWTPtrHashSet.html