Results 1 to 2 of 2

Thread: Compilation error in using RWTPtrHashSet<T>& S

  1. #1
    Junior Member
    Join Date
    Mar 2013

    Compilation error in using RWTPtrHashSet<T>& S

    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 ?
    Last edited by nagarjun; 04-15-2013 at 02:58 AM.

  2. #2
    Junior Member
    Join Date
    Feb 2008
    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: Gomez
    Rogue Wave Software
    Product Manager

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts