Changeset d88948 in git


Ignore:
Timestamp:
Aug 1, 1997, 1:45:54 PM (27 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'spielwiese', '82fc009ea2b0098c1a4896c841bb70860976bdfc')
Children:
4d0d2f090f9b04cfdcbdba8a94c80e72307013d3
Parents:
d720e3a7957e4c0b52b42a6b5b75381d37a05729
Message:
	* cf_map.cc (operator << ( ostream& s, const CFMap & m )):
	  rewritten


git-svn-id: file:///usr/local/Singular/svn/trunk@595 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_map.cc

    rd720e3 rd88948  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: cf_map.cc,v 1.7 1997-07-23 16:22:34 schmidt Exp $ */
     2/* $Id: cf_map.cc,v 1.8 1997-08-01 11:45:54 schmidt Exp $ */
    33
    44//{{{ docu
     
    205205operator << ( ostream& s, const CFMap & m )
    206206{
    207     if ( m.P.isEmpty() )
    208         s << "( )";
    209     else {
    210         MPListIterator i = m.P;
    211         s << "( " << i.getItem();
    212         i++;
    213         while ( i.hasItem() ) {
    214             s << ", " << i.getItem();
    215             i++;
    216         }
    217         s << " )";
    218     }
    219     return s;
     207    return s << m.P;
    220208}
    221209//}}}
Note: See TracChangeset for help on using the changeset viewer.