|
-
July 12th, 2004, 11:09 AM
#5
Originally posted by matthias_k
Maybe you tell us what the compiler error is first 
By the way:
This doesn't do anything but initializing an anonymous temporary variable with 56.
I think what you meant is that (note the reference type):
Code:
template <class T, int element>
int & Array<T, element>::setgetInteger()
{
return integer;
}
Just as a side note.
You son of a biscuit . That did the trick :sigh: .
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
|
Click Here to Expand Forum to Full Width
|