Hey! thanks for the help, but it did not make any difference. I get this
error
In file included from main.C:3:
index.H:41: declaration of `class K'
index.H:24: shadows template parm `class K'
index.H:41: declaration of `class D'
index.H:24: shadows template parm `class D'
-- snip --
Line 24: template<typename K, typename D>
class Index{
/*The resto of the class goes here*/
};
Line 41: template<typename K, typename D>
friend std::ostream& jme::operator<< (std::ostream& os,
const Index<K,D>& obj)
{
return os << obj.getKey() << " " <<
obj.getData();
}
Thanks, any help is much appreciated
d.t...@gm... wrote:
>> Dev-cpp-users -- confirmation of subscription -- request 760458
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
> Free Linux Tutorials. Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
--
FYI
http://www.astro.umd.edu/~marshall/abbrev.html
E-Mail Policy
http://www.vif.com/users/escalante/Email_Policy.html
* You cannot exercise your power to a point of humiliation.
- Jean Chretien
* The media's the most powerful entity on earth. They have the
power to make the innocent guilty and to make the guilty
innocent, and that's power.
- Malcom X
* "Innocent until proven guilty", no... not in Canada!!
|