Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

defs.inl

Go to the documentation of this file.
00001 template<class T, int S>
00002 std::ostream& operator<<(std::ostream& os, const Chunk<T, S>& c)
00003 {
00004   os << "< ";
00005   for(const T* i= c.begin(); i != c.end(); )
00006   {
00007     os << *i++ << " ";
00008   }
00009   return os << ">";
00010 }
00011 
00012 template<class T, int S>
00013 std::istream& operator>>(std::istream& is, Chunk<T, S>& c)
00014 {
00015   for(T* i= c.begin(); i != c.end();) 
00016     is >> *i++;
00017   return is;
00018 }
00019 
00020 /*
00021 ;;; Local Variables: ***
00022 ;;; mode:C++ ***
00023 ;;; c-basic-offset:2 ***
00024 ;;; End: ***
00025 */
00026 

Generated on Tue Sep 2 11:33:27 2003 for math by doxygen 1.3.2