Changeset a08ba92 for translator/Common/utility.h
- Timestamp:
- May 19, 2015, 4:58:14 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:
- 843054c2
- Parents:
- 01aeade
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
translator/Common/utility.h
r01aeade ra08ba92 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue May 19 07:27:38201513 // Update Count : 212 // Last Modified On : Tue May 19 15:34:57 2015 13 // Update Count : 3 14 14 // 15 15 … … 116 116 Ts ret; 117 117 118 switch ( l.size() ) {118 switch ( l.size() ) { 119 119 case 0: 120 120 return ret; … … 156 156 157 157 //if ( next != org.end() ) { 158 159 160 158 org.erase( pos ); 159 org.splice( next, with ); 160 //} 161 161 162 162 return; … … 175 175 template< typename T > 176 176 struct is_null_pointer { 177 bool operator()( const T *ptr ) { return ( ptr == 0 ); }177 bool operator()( const T *ptr ) { return ( ptr == 0 ); } 178 178 }; 179 179
Note: See TracChangeset
for help on using the changeset viewer.