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: .