Changeset 82dd287 for src/SynTree/TypeSubstitution.h
- Timestamp:
- Jul 9, 2015, 3:07:22 PM (8 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:
- cff1143
- Parents:
- 413f7f8
- git-author:
- Aaron Moss <a3moss@…> (07/08/15 16:16:21)
- git-committer:
- Aaron Moss <a3moss@…> (07/09/15 15:07:22)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/TypeSubstitution.h
r413f7f8 r82dd287 157 157 } 158 158 159 // helper function 159 /// Instantiate each member of the context given the actual parameters specified, and store the 160 /// instantiations for use by the indexer 160 161 template< typename FormalIterator, typename ActualIterator, typename MemberIterator, typename OutputIterator > 161 162 void applySubstitution( FormalIterator formalBegin, FormalIterator formalEnd, ActualIterator actual, MemberIterator memberBegin, MemberIterator memberEnd, OutputIterator out ) { 162 // Instantiate each member of the context given the actual parameters specified, and store the163 // instantiations for use by the indexer164 165 163 TypeSubstitution sub = TypeSubstitution( formalBegin, formalEnd, actual ); 166 164 for ( std::list< Declaration* >::iterator i = memberBegin; i != memberEnd; ++i ) {
Note: See TracChangeset
for help on using the changeset viewer.