Changeset 1ba88a0 for src/Common
- Timestamp:
- Sep 4, 2016, 3:25:32 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, 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:
- b16898e
- Parents:
- 85517ddb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/utility.h
r85517ddb r1ba88a0 261 261 262 262 template< typename T > 263 struct ReverseIter{263 struct reverseIterate_t { 264 264 T& ref; 265 265 266 ReverseIter( T & ref ) : ref(ref) {}266 reverseIterate_t( T & ref ) : ref(ref) {} 267 267 268 268 typedef typename T::reverse_iterator iterator; … … 272 272 273 273 template< typename T > 274 ReverseIter< T > ReverseIterate( T & ref ) {275 return ReverseIter< T >( ref );274 reverseIterate_t< T > reverseIterate( T & ref ) { 275 return reverseIterate_t< T >( ref ); 276 276 } 277 277
Note: See TracChangeset
for help on using the changeset viewer.