#include #include #include "cctk.h" #include "defs.hh" #include "vect.hh" using namespace std; // Input template void vect::input (istream& is) { skipws (is); consume (is, '['); for (int d=0; d> (*this)[d]; assert (is.good()); if (d void vect::output (ostream& os) const { os << "["; for (int d=0; d vect::vect (const int& x, const int& y) { assert(0); } template<> vect::vect (const int& x, const int& y) { assert(0); } template<> vect::vect (const int& x, const int& y) { assert(0); } template<> vect::vect (const int& x, const int& y) { assert(0); } template<> vect::vect (const int& x, const int& y, const int& z) { assert(0); } template<> vect::vect (const int& x, const int& y, const int& z) { assert(0); } template<> vect::vect (const int& x, const int& y, const int& z) { assert(0); } template<> vect::vect (const int& x, const int& y, const int& z) { assert(0); } template<> vect::vect (const int& x, const int& y, const int& z, const int& t) { assert(0); } template<> vect::vect (const int& x, const int& y, const int& z, const int& t) { assert(0); } template<> vect::vect (const int& x, const int& y, const int& z, const int& t) { assert(0); } template<> vect::vect (const int& x, const int& y, const int& z, const int& t) { assert(0); } // Note: We need all dimensions all the time. template class vect; template class vect; template class vect; template class vect; template class vect; template void vect::input (istream& is); template void vect,dim>::input (istream& is); template void vect,2>::input (istream& is); template void vect::output (ostream& os) const; template void vect::output (ostream& os) const; template void vect::output (ostream& os) const; template void vect::output (ostream& os) const; template void vect,dim>::output (ostream& os) const; template void vect,dim>::output (ostream& os) const; template void vect,2>::output (ostream& os) const; template void vect,2>::output (ostream& os) const;