[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-cxx-dev
Subject:    Re:  CXX-DEV: typedef and templates
From:       Dennis Handly <dhandly () cup ! hp ! com>
Date:       2002-07-24 14:08:47
[Download RAW message or body]

>I would like to do something like that:
>typedef template <class K, class V>
>RWTValHashMap<K, V, Utils<K>, Utils<K> > MyHashMap<K,V>;
>Is that syntax correct?

No, you can only do:
   RWTValHashMap<K, V, Utils<K>, Utils<K> > MyHashMap;

Where K and V are types, or a containing template's parms.
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE cxx-dev
 _________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic