Changeset cf0941d for src/Common
- Timestamp:
- Jun 4, 2015, 11:08:06 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 44b5ca0
- Parents:
- c7ed6d0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/utility.h
rc7ed6d0 rcf0941d 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Fri May 29 16:17:02201513 // Update Count : 711 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jun 4 21:29:57 2015 13 // Update Count : 9 14 14 // 15 15 … … 60 60 for ( typename Container::const_iterator i = container.begin(); i != container.end(); ++i ) { 61 61 if ( *i ) { 62 os << std::string( indent, ' ');62 os << std::string( indent, ' ' ); 63 63 (*i)->print( os, indent + 2 ); 64 64 os << std::endl; … … 151 151 template< typename T > 152 152 void replace( std::list< T > &org, typename std::list< T >::iterator pos, std::list< T > &with ) { 153 // TIter should secretly be a typename std::list< T >::iterator154 // ( g++ 3.2 issues a 'is implicitly a typename' warning if I make this explicit )155 153 typename std::list< T >::iterator next = pos; advance( next, 1 ); 156 154
Note: See TracChangeset
for help on using the changeset viewer.