sorry for the typo . it should read in both operator lines:
"ostream& operator<<(ostream& os, Simple<T> P )"