|
-
Template classes and friend functions
I created a class for a growning array. The array can get bigger or
smaller depending on what I want to do with it. Now I had written all
the code for this class and designed it around an int array type and the
code worked fine. So then I make this array class into a template class and
I am getting linker errors. Now I know this is caused by the friend function
I have inside this class(well I think I know). my question is this, it there
a differnt way to declare friend functions in a template class than normal...
argh.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks