Changeset 09687aa for src/tests/sum.c


Ignore:
Timestamp:
Dec 7, 2017, 1:10:51 PM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
5e1adb5
Parents:
92494fd
Message:

complete conversion of iostream/fstream to use references

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/sum.c

    r92494fd r09687aa  
    1111// Created On       : Wed May 27 17:56:53 2015
    1212// Last Modified By : Peter A. Buhr
    13 // Last Modified On : Sun Oct 29 10:29:12 2017
    14 // Update Count     : 260
     13// Last Modified On : Thu Dec  7 09:13:36 2017
     14// Update Count     : 261
    1515//
    1616
     
    9090        S ++?( S & t ) { t += (S){1}; return t; }
    9191        S ?++( S & t ) { S temp = t; t += (S){1}; return temp; }
    92         ofstream * ?|?( ofstream * os, S v ) { return os | v.i | v.j; }
     92        ofstream & ?|?( ofstream & os, S v ) { return os | v.i | v.j; }
    9393
    9494        S s = (S){0}, a[size], v = { low, low };
Note: See TracChangeset for help on using the changeset viewer.