/in/foo.cc:7:48: warning: friend declaration 'std::istream& operator>>(std::istream&, Array<T>&)' declares a non-template function [-Wnon-template-friend]
friend istream& operator>>(istream&, Array<T>&);
^
/in/foo.cc:7:48: note: (if this is not what you intended, make sure the function template has already been declared and add <> after the function name here)
/in/foo.cc:8:48: warning: friend declaration 'std::ostream& operator<<(std::ostream&, Array<T>&)' declares a non-template function [-Wnon-template-friend]
friend ostream& operator<<(ostream&, Array<T>&);
^
/tmp/ccEs06hw.o: In function `main':
foo.cc:(.text.startup+0x26): undefined reference to `operator>>(std::istream&, Array<int>&)'
foo.cc:(.text.startup+0x35): undefined reference to `operator<<(std::ostream&, Array<int>&)'
collect2: error: ld returned 1 exit status